You are not logged in.
Hi,
I have a 30 GB directory full of data I recovered from a friend's laptop after her Windows XP crashed. I'd like to burn that data, but I can't, because many of the filenames contain weird characters (spaces, accents, things even worse that my XTerm displays as inverted question marks). So, mkisofs exits with an error.
I'd like to clean that mess up, but it would take months to do that manually. Well, I only know a very little Bash, but I think this problem is already too heavy for my modest knowledge. Here's the problem:
- check the contents of directory ~/backup recursively
- find files whose filenames contain characters other than [A-Za-z0-9] and then maybe "-" and "_" and ".".
- replace these characters either by an "_" or just erase them
Now how would I translate that into a little Bash script?
Cheers...
Dyslexics have more fnu.
Offline
Zip it and burn it; you won't lose anything.
Offline
Heyyyyy... nice idea
Dyslexics have more fnu.
Offline