In my external hard drive, there are about 1TB of data (PDFs, plain text docs, pictures, binary execuatables etc.). The data was created in Windows 10 and the hard-drive is formatted NTFS.Starting from the root of the hard drive, I would like to recursively descend into each folder and replace the spaces in all files with underscore to make it easier to work with them from the terminal.I saw the question here: and thinking of using the top answer there rename 'y/ /_/' * from the root of my external hard drive.However, that thread does not have a high view count and only 2 members have upvoted the answers. Being a novice, I am a little concerned if there might be any inherent issues in this. Is there a better way to handle this issue of cross-platform ease of working at the terminal ? (maybe advice like 'do this only for plain text files, or some other problems that I am not able to foresee')
Potential issues (if any) in recursively replacing spaces with underscores across all filenames on hard-drive
shell script;files;terminal;rename;filenames