The story is simple:
I drag and drop a folder into another by mistake in FileZilla.
The folder got moved is a very huge one. It includes hundreds of thousands of files (node_modules, small image files, a lot of folders)
What is so weird is that after I release my mouse, the moving is done. The folder "big_folder" is moved into "some_other_folder".
(there is no
big_folder in the
~/ after moving)
Then I realize the mistake and try move back but it fails both on FileZilla and terminal.
Then I have to
cp -r to copy files back because there are server-side codes accessing those files in
And it takes like forever to wait ...
What should I do?
BTW, here are the output from FileZilla (it's the failure of the moving back):
Status: Renaming '/root/big_folder' to '/root/some_other_folder/big_folder' Status: /root/big_folder -> /root/some_other_folder/big_folder Status: Renaming '/root/some_other_folder/big_folder' to '/root/big_folder' Command: mv "big_folder" "/root/big_folder" Error: mv /root/some_other_folder/big_folder /root/big_folder: received failure with description 'Failure'