[PLUG-TALK] Android filesystem / permissions / ownership

Rich Shepard rshepard at appl-ecosys.com
Sat Jun 5 18:18:51 UTC 2021


On Sat, 5 Jun 2021, John Jason Jordan wrote:

> I have about 1300 MP3s in all, and maybe a third of them have a pair of
> double quotes in the filename. That's a lot of work to rename all those
> files. I wonder if a mv command could be crafted to rename all files
> containing a double quote and replace just the double quotes with
> single quotes. Such a command is way beyond my pay grade, but maybe
> someone here can suggest how to do it. Otherwise I'll have to go
> through the files and change them all manually.

John,

Look at sed. Not tested, but sed 's/\"/\'/g' should work.

Read here:
<https://linuxize.com/post/how-to-use-sed-to-find-and-replace-string-in-files/>

HTH,

Rich



More information about the PLUG-talk mailing list