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.