News for hackers. Stuff that matters.
Re:I'm “still afraid to use spaces in file names” years old by theshowmustgo on Thursday November 11, 2021 @04:50PM (#29193643)
Nice but how do you prevent overwrites? What about directories/folders and the files in that directory/folder?

I have:

  Movie Bla (2020)
    Movie Bla (2020).mp4
But also:

  Movie_Bla_(2020)
    Movie_Bla_(2020).mp4
    Movie_Bla_(2020).srt
Would not like to lose files like the the srt.
Re:I'm “still afraid to use spaces in file names” years old by mtift on Thursday November 11, 2021 @06:21PM (#29194523)
Yeah, sometimes I end up renaming things I don't want to, but it really doesn't happen all that often. And sometimes I throw caution to the wind, add some excitement to my life, and rename a bunch of files (not for anything professional) in some really old directory and hope I don't break anything. But I'm not aiming for perfect with this comment. I just mentioned in another comment, but the vast majority of times I run this is in my ~/Downloads folder on files I don't really worry about breaking.
Re:I'm “still afraid to use spaces in file names” years old by BiteCode_dev on Thursday November 11, 2021 @05:00PM (#29193748)
rename will stop and output and error.