I thought that my backup software Freefilesync was not backing up files with spaces in the names, so I found online a solution that changed all the spaces to -.
find . -name "* *" -type f | rename 's/ /-/g'^C Now I have just checked my backup and discovered that files with spaces in them were copied, so my backup so contains two copies of many files 'file-1' and 'file 1'. Can someone advise me of a script like the above that I can run on my backup disk to remove the files with spaces in the names? I expect to hear you shout "NOT A GOOD IDEA" but I'll take the responsibility for the results, even if I have to clean off the backup and start from new. Thanks, Peter -- Next meeting: Online, Jitsi, Tuesday, 2021-12-07 20:00 Check to whom you are replying Meetings, mailing list, IRC, ... http://dorset.lug.org.uk New thread, don't hijack: mailto:dorset@mailman.lug.org.uk