I made a mistake when moving a set of file by this command mv src/* .. instead of mv src/* .
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
You can try using find to discover which files in ".." was modified at the time you made the erroneous mv, and then mv them in the right place again (using -exec find option for example). |
|||
|
|
I don't think there's any. Same goes with |
|||
|
|
You cannot 'undo' it easily other than by sorting out which files belong where and to move them back again. Alternatively, you could restore from a backup and then compare the files from the backup and the present system to help. |
|||
|
|