Afficher un message
Vieux 19/03/2008, 15h29   #1
eskgwin@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Renaming files with substitution in names

I have a bunch of files that need name changes (about 1000). Each file
looks like this:

ABC-2008.03.15.19.53.36-2008.03.15.19.54.37.tpd.gz

I need to have the names look like this:

ABC-2008.03.14.19.53.36-2008.03.14.19.54.37.tpd.gz

So, I need to have the day of the month subtracted by 1. The days and
times are all different from March 2 - March 19.

Is there some ksh or perl script that would make this easy to do?
Thanks.

Allyson
  Réponse avec citation
 
Page generated in 0,05170 seconds with 9 queries