That command would have resulted in:
- File or folder
/home/nginx/crap/mymods
- All directories at
/ (in theory)
- All files and directories in
/home/nginx/crap/
moved into last directory given by * in /home/nginx/crap/. As in:
ls -d /home/nginx/crap/*
afile1 afile2 dir1 dir2
Then everything would be put into dir2.
If the last entry of * was a file the command would have failed as you cannot
move files and folders into a file.
As the last file in your gist post is tree.txt you most likely did not move
any files – and something else has happened.
See if you have the env command available.
/to a different directory and still had a running shell, you could have recovered: Moved bin and other folders! How to get them back? – Gilles 'SO- stop being evil' May 02 '13 at 00:57