Somehow I've wound up with a dozen files in my /home directory with 0 bytes and corrupted names, all containing diamond shapes with question marks inside them. When I try to "Move to Trash," I'm informed that the file does not exist. This is a small issue, not preventing me from doing anything, but how do I get rid of them?
Announcement
Collapse
No announcement yet.
Corrupted files
Collapse
This topic is closed.
X
X
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
-
Originally posted by SteveRiley View Post-- Werdigo49
Registered Linux User #291592
Kubuntu Xenial Xerus (16.04)
- Top
- Bottom
Comment
-
Pan-Galactic QuordlepleenSo Long, and Thanks for All the Fish
- Jul 2011
- 9524
- Seattle, WA, USA
- Send PM
Assume you save the script in a file called bad-renamer.sh and set the attributes to a+x.
If you run this:
Code:./bad-renamer.sh [I]CORRUPTED-FILE-NAME[/I]
Code:./bad-renamer.sh --no-test [I]CORRUPTED-FILE-NAME[/I]
- Top
- Bottom
Comment
Comment