How to get rid of bad chrs?

Colin Law clanlaw at gmail.com
Sun Aug 1 20:56:04 UTC 2021


On Sun, 1 Aug 2021 at 21:25, rikona <rikona at sonic.net> wrote:
>
> Just did a backup of new box and got many errors using grsync. Almost
> all were because of 'bad' chrs in the file name ["?: etc]. Some names
> have more than 1 bad chr. Is there a way to safely remove just this set
> of chrs in every file name within a folder/subfolders, and leave the
> rest of the chrs in the file name intact? (safely = no chance of losing
> a file :-)

grsync should not throw an error just because a file name contains
unusual characters such as question mark.  File names can contain any
character except '/'.  Are you sure that is what the problem is?

Colin




More information about the ubuntu-users mailing list