Hi All,
I have a huge bunch of files in one single folder.
They are all mp3 files.
A few hundred of them have an empty space before the file name.
So as an example:
Abba - Money, Money, Money.mp3
There would be a space before Abba.
Is there a way to List every single file that meets these criteria?
then delete the empty spaces.
Thank You.
Deleting empty spaces at beginning of file names?
-
- Posts: 91
- Joined: Fri May 28, 2021 7:55 am
Re: Deleting empty spaces at beginning of file names?
regex:^\s
Once found, select the ones you want to rename, Shift+F2, then in the New Format: box of the dialog, simply remove the opening space in the New Format: box.
(Then hit, OK.)
Start small, experiment, understand just what is going on.
There isn't a whole lot in the way of "safety checks", so an inadvertent <CR>...
(Though Everything 1.5alpha does have some Undo (Ctrl+Z & Ctrl+Shift+Z) actions.)
(You can extend the above to one or more spaces, with:
regex:^\s+
Re: Deleting empty spaces at beginning of file names?
or:
Code: Select all
startwith:" "
Re: Deleting empty spaces at beginning of file names?
I'm not certain Shift+F2 is bound to Advanced Rename by default. If not, go to Edit -> Advanced -> Advanced Rename.
If it is the default now, sorry.
If it is the default now, sorry.
Re: Deleting empty spaces at beginning of file names?
I will add Shift+F2 as the default shortcut for the Advanced Renamer.
shorthand search to find files starting with a space:
^:" "
^: = match start of filename.
" " = match a literal space.
-or-
" *"
shorthand search to find files starting with a space:
^:" "
^: = match start of filename.
" " = match a literal space.
-or-
" *"
-
- Posts: 91
- Joined: Fri May 28, 2021 7:55 am
Re: Deleting empty spaces at beginning of file names?
Thank you All, for your reply's and advice...