[ale] making duplicate files
Keith R. Watson
keith.watson at gtri.gatech.edu
Tue May 20 14:12:48 EDT 2003
At 06:03 PM 5/20/2003 +0000, you wrote:
>I am observing this with considerable interest...
>
>What is the significance of the "%03d"?
>
>- Jeff
> >
> > If you really want them to all have the same content no matter what:
> >
> >
> > perl -e 'link("000.php",sprintf("%03d.php",$_))for 1..999'
> >
Jeff,
The %03d makes each file name 3 digits long by padding it with zeros as
necessary. This insures the file names will be
001.php
002.php
003.php...
099.php...
999.php
instead of
1.php
2.php
3.php...
99.php...
999.php
keith
-------------
Keith R. Watson GTRI/ITD
Systems Support Specialist III Georgia Tech Research Institute
keith.watson at gtri.gatech.edu Atlanta, GA 30332-0816
404-894-0836
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list