Tuesday, 20 August 2019

ubuntu - Rename ':2f' to '-' on folder names in Linux

I've got a hard drive taken from a NAS drive where files had been put on from a Mac - However, some of the filenames had been, for example, 'backup 16/07/14' which has then been changed to 'backup 16:2f07:2f14' on the NAS.


This is proving an issue when copying files over to a new NAS. So what i'm looking to do is just switch the ':2f' to '-' by running a command on a folder that houses all these other folders.


I'm reasonably new to Linux, so i'm stuck. I've loaded up the hard drive on ubuntu on a virtual machine.


Any suggestions?

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...