I accidentally executed this command in SSH:
Now all the data in the magento dir is gone. Does anyone know where it moved to?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
If the alphabetically last entry in this directory is a directory itself, they are there.
Suppose you have the files
c and the directory
d. In this case,
mv /var/www/vhosts/website/httpdocs/magento/a /var/www/vhosts/website/httpdocs/magento/b /var/www/vhosts/website/httpdocs/magento/c /var/www/vhosts/website/httpdocs/magento/d
which is a command to move everything to
d. Look there if there is anything.
d wasn't a directory,
mv should have complained about that.
To extend the reply of glglgl:
The command line wildcard expansion in Unix-like operating systems is performed by the shell. In most cases with Linux it would be
bash. Its man page explicitly states that the wildcard expansion will be alphabetically sorted. The same should be valid for most of Bourne-compatible shells.