Weird Filenames

Mike Nelson mike at realrunners.com
Mon Feb 7 13:02:33 MST 2005


So I was untaring this backup today when I noticed a strange character 
at the end of a filename.

tar -vtzf online_md.dump.tar.gz
yeilds:
-rw-r--r-- root/root 2031604061 2005-02-04 01:05:56 
home/webuser/online_md/online_md.dump\r

After it untars  ll gives me this:

-rw-r--r--    1 root     root     2031604061 Feb  4 01:05 online_md.dump?

So I'm pretty sure that our backup script is including a \r in the 
filename. But how can I rename the file?

Any help?

-Mike Nelson



More information about the PLUG mailing list