bulk rename pod1 > pod2 needed
Dennis Kibbe
dennisk at sdf.lonestar.org
Tue Feb 17 11:38:40 MST 2009
>Actually, if the original specification is co=
>rrect, probably none of the solutions proposed is likely to work. It =
>appears that the target name for the first rename is the same as the source=
> for the second. If this were true one would have to ensure that rena=
>me or move operations were done in an order to avoid attempts to overwrite =
>existing names.
That's correct. So renaming needs to start at the end. (There are actually 24 files in the directory.)
so renaming:
ccna.pod24.pc1.ext to ccna.pod25.pc1.ext
needs to happen before renaming:
ccna.pod23.pc1.ext to ccna.pod24.pc1.ext
and so on down to:
ccna.pod1.pc1.ext to ccna.pod2.pc1.ext
Dennisk
--
"Free as in Freedom"
Free Software Foundation
More information about the PLUG-discuss
mailing list