Somehow i have tar file called 'secret\r-.tar.gz'.Note that it has \r in the name.I tried following SSH command for moving but none of them are working:mv secret\r-.tar.gz ../mv secret\\r-.tar.gz ../mv secret\\r-.tar.gz ../mv secret\r-.tar.gz ../All resulted with error:mv: cannot stat `secret\r-.tar.gz': No such file or directoryCan you guys point me to the right direction.
Unable to move or delete file with \r in the name
bash;rename
If the file is literally called secret\r-.tar.gz, mv secret\r-.tar.gz ../ should have worked.If the \r is really a carriage return, you need to have a literal carriage return (and not an escape):mv $'secret\r-.tar.gz' ..