How do you use FIND to globally rename files?
I find that some music files that have '!' embedded in them
to cause conflicts especially when attempting to use
Nautilus to move them from one location into another,
so I wish to rename files that have offending characters
in them.
I tried:
1) fin
Daniel B. Thurman wrote:
How do you use FIND to globally rename files?
I find that some music files that have '!' embedded in them
to cause conflicts especially when attempting to use
Nautilus to move them from one location into another,
so I wish to rename files that have offending character
Daniel B. Thurman wrote:
How do you use FIND to globally rename files?
I find that some music files that have '!' embedded in them
to cause conflicts especially when attempting to use
Nautilus to move them from one location into another,
so I wish to rename files that have offending characters
On Fri, 2008-06-20 at 12:06 -0500, Robert Nichols wrote:
> Daniel B. Thurman wrote:
> >
> > How do you use FIND to globally rename files?
> >
> > I find that some music files that have '!' embedded in them
> > to cause conflicts especially when attempting to use
> > Nautilus to move them from one
Patrick O'Callaghan wrote:
On Fri, 2008-06-20 at 12:06 -0500, Robert Nichols wrote:
Simplest
way is to use the 'rename' command:
find . -type f -name '*!*.mp3' -exec rename '!' '' {} \;
Slightly better:
find . -type f -name '*!*.mp3' -print0 |xargs -0 rename '!' ''
This will work
On Fri, 2008-06-20 at 16:35 -0500, Robert Nichols wrote:
> Patrick O'Callaghan wrote:
> > On Fri, 2008-06-20 at 12:06 -0500, Robert Nichols wrote:
> >> Simplest
> >> way is to use the 'rename' command:
> >>
> >> find . -type f -name '*!*.mp3' -exec rename '!' '' {} \;
> >
> > Slightly be
Daniel B. Thurman wrote:
How do you use FIND to globally rename files?
I find that some music files that have '!' embedded in them
to cause conflicts especially when attempting to use
Nautilus to move them from one location into another,
so I wish to rename files that have offending characters