I got a little bit of a problem. One client tasked me with the migration of sites from a really old server. Don't know how they got there, but there are files with ' in their names. Is there any way to rename the file? mv doesn't seem to do the trick.
ls shows it as 90843_O\\'ConnorPaul_GeneralManager.jpg
When I try
mv 90843_O\\'ConnorPaul_GeneralManager.jpg 90843_O_ConnorPaul_GeneralManager.jpg it does nothing with the > in the new line as if waiting for more input.
If I try
mv 90843_O\'ConnorPaul_GeneralManager.jpg 90843_O_ConnorPaul_GeneralManager.jpg I get the error
mv: cannot stat '90843_O\'ConnorPaul_GeneralManager.jpg': No such file or directory
Also, is there simple way to change \' to _in all files in certain folder?
vidiris a simple solution to these kinds of issues.