I've a done wrong use of
sudo mv command. Example:
sudo Mv/home/USER/Downloads/piff.pdf /root/PDFs
Then the directory
/root/PDFs has been changed to a plain text file.
I can undo the command? I can retrieve the directory?
If the problem is that you forgot to add a
will restore the file to its original location and then you can redo the move with...
Warning: this ONLY works on the assumption that you intended to move the file to directory