Help!! Filenames with blanks in them
Posted: 06 Apr 2016, 21:12
When I boot I am getting "cp cannot stat" error msgs. The reason is deleted files with blanks/spaces in their names. I know how to remove normal .wh. files:
but I need a tweak to handle the names with blanks. Something that would replace the " " with a "?". Would grep work?
Some of the error msgs:
Some of the files:
-edit-
No longer solved. New discussion added.
Code: Select all
find /mnt/live/memory/images/changes/home -name ".wh.*" | xargs rm
Some of the error msgs:
Code: Select all
rm: cannot remove ‘/mnt/live/memory/images/changes/home/guest/.config/google-chrome/Default/Session’: No such file or directory
rm: cannot remove ‘Storage/.wh.000004.log’: No such file or directory
rm: cannot remove ‘/mnt/live/memory/images/changes/home/guest/.config/google-chrome/Default/Session’: No such file or directory
rm: cannot remove ‘Storage/.wh.000003.log’: No such file or directory
Code: Select all
/mnt/live/memory/images/changes/home/guest/.config/google-chrome/Default/Session Storage/.wh.000004.log
/mnt/live/memory/images/changes/home/guest/.config/google-chrome/Default/Session Storage/.wh.000003.log
-edit-
No longer solved. New discussion added.