I'm in the process of backing up my data, which might be the
least-stimulating thing a person does on a computer. I have collected the
images from usenet concerning the junior senator from new york and placed
them in a file. I would like to rename them en masse.
Part of this I can do in perl, part in fortran. Somehow it's got to add
together to a solution. This is going to be a long post, so I'll leave out
the perl part. For the fortran part we look to a little prog from Elliot
Chandler:
implicit none
integer i1,i2
character*33 s1
character*12 s2
do i1=1,2
write(s1,100) i1 ! non-fatal error if exists
100 format('C:\Research\lifecycle\results',i3.3,'\')
call system('md ' // s1)
do i2=1,3
write(s2,200) i2
200 format('output',i2.2,'.out')
open(10,file=s1 // s2)
write(10,*) 'I am newer file ' // s1 // s2
close(10)
end do
end do
end
So, one does an internal write for the path. I have placed all the files
in \Research\lifecycle\results1\ You can see by the filenames that she's
been called robber, thief, and murderer in technicolor. I want to preserve
this legacy for those who doubt that this Repug smear machine didn't exist,
and in a form like hillary1.jpg ... hillary37.gif ... hillary208.jpg,
where each file begins with hillary, then the next integer, then the
correct filetype.
The filenames might present a challenge to fortran:
Volume in drive C has no label.
Volume Serial Number is 2806-8169
Directory of C:\Research\lifecycle\results001
05/07/2008 10:29 PM <DIR> .
05/07/2008 10:29 PM <DIR> ..
03/05/2008 06:17 PM 62,979 (!!_hile hillary).jpg
04/29/2008 07:59 PM 116,560 102079.jpg
04/29/2008 08:00 PM 59,727 119357.jpg
04/29/2008 08:01 PM 68,682 121312.jpg
03/25/2008 06:43 PM 170,146 12182007.jpg
04/29/2008 08:15 PM 101,363 123040.jpg
04/29/2008 08:03 PM 73,513 123594.jpg
04/29/2008 08:15 PM 61,054 123754.jpg
04/29/2008 08:04 PM 77,968 123830.jpg
04/29/2008 08:04 PM 56,712 123834.gif
04/29/2008 08:05 PM 115,905 123839.jpg
04/29/2008 08:05 PM 62,579 123841.jpg
04/29/2008 08:01 PM 60,972 123852.jpg
04/29/2008 08:05 PM 56,541 123854.jpg
04/29/2008 08:16 PM 57,710 125130.jpg
04/29/2008 08:16 PM 66,470 126177.jpg
04/29/2008 08:18 PM 74,258 127163.jpg
04/29/2008 08:27 PM 110,455 129082.jpg
04/29/2008 08:18 PM 142,043 130154.jpg
04/29/2008 08:16 PM 56,422 130221.jpg
04/29/2008 08:19 PM 82,115 130291.jpg
04/29/2008 08:20 PM 196,292 130616.gif
04/29/2008 08:21 PM 71,089 131559.jpg
04/29/2008 08:21 PM 77,230 131960.jpg
04/29/2008 08:22 PM 135,738 132221.jpg
04/29/2008 08:22 PM 63,028 132448.jpg
04/29/2008 08:23 PM 68,453 132653.jpg
04/29/2008 08:23 PM 107,641 132669.jpg
04/29/2008 08:24 PM 162,983 133362.jpg
04/29/2008 08:24 PM 56,874 133378.jpg
04/29/2008 08:25 PM 64,023 133382.jpg
04/29/2008 08:25 PM 87,542 133583.jpg
04/29/2008 08:25 PM 67,955 134074.jpg
04/29/2008 08:26 PM 92,917 134200.jpg
04/29/2008 08:26 PM 60,459 134286.jpg
04/29/2008 09:20 PM 168,298 134356.jpg
04/29/2008 09:20 PM 104,585 134388.jpg
04/29/2008 08:26 PM 73,016 134534.jpg
04/29/2008 08:27 PM 87,326 134685.jpg
04/29/2008 09:21 PM 64,503 134868.gif
04/29/2008 09:21 PM 131,014 134920.jpg
04/29/2008 09:21 PM 57,029 134922.jpg
04/29/2008 09:24 PM 106,506 135021.jpg
04/29/2008 10:11 PM 134,332 135034.jpg
04/29/2008 10:57 PM 89,235 135101.jpg
04/29/2008 10:58 PM 130,977 135102.jpg
04/29/2008 10:58 PM 135,148 135104.jpg
04/29/2008 10:59 PM 54,809 135222.jpg
04/29/2008 10:59 PM 62,531 135305.jpg
04/29/2008 11:00 PM 77,125 135311.jpg
04/29/2008 11:00 PM 111,992 135494.jpg
04/29/2008 11:01 PM 58,385 135653.jpg
04/29/2008 11:01 PM 100,781 135655.jpg
04/29/2008 11:01 PM 58,091 135724.jpg
04/29/2008 11:02 PM 58,813 135969.jpg
04/29/2008 11:03 PM 67,959 135972.gif
04/29/2008 11:03 PM 56,771 135975.gif
04/29/2008 11:03 PM 91,040 136026.jpg
04/29/2008 11:04 PM 111,411 136027.jpg
04/29/2008 11:04 PM 61,728 136237.gif
04/29/2008 11:05 PM 147,249 136240.jpg
04/29/2008 11:05 PM 66,178 136307.jpg
04/29/2008 11:06 PM 64,655 136315.gif
04/29/2008 11:06 PM 93,559 136316.jpg
04/29/2008 11:06 PM 65,680 136519.jpg
04/29/2008 11:07 PM 70,422 136523.jpg
04/29/2008 11:08 PM 55,868 136527.gif
04/29/2008 11:08 PM 82,226 136547.jpg
04/29/2008 11:09 PM 79,343 136562.jpg
04/29/2008 11:10 PM 79,462 136581.jpg
04/29/2008 11:10 PM 142,636 136589.jpg
04/29/2008 11:11 PM 110,275 136806.jpg
04/29/2008 11:11 PM 132,545 136808.jpg
04/30/2008 04:52 AM 54,139 136885.jpg
04/29/2008 11:12 PM 78,765 136893.jpg
04/30/2008 03:47 PM 100,520 136898.jpg
04/30/2008 04:53 AM 48,854 137048.jpg
04/29/2008 11:13 PM 80,111 137138.jpg
04/29/2008 11:13 PM 105,122 137141.jpg
03/02/2008 06:23 PM 87,227 1a copy.jpg
03/26/2008 11:38 PM 64,936 1bosn009.jpg
03/13/2008 03:54 AM 90,381 2209_134.jpg
04/29/2008 07:54 PM 98,034 3184.jpg
04/29/2008 07:55 PM 55,786 3287.jpg
04/09/2008 04:20 AM 72,981 61341_912.jpg
04/29/2008 07:57 PM 192,056 6165.jpg
04/29/2008 07:56 PM 83,067 7066.jpg
03/02/2008 10:44 PM 75,102 ain't nuthin but a hound dog.jpg
03/05/2008 02:14 AM 18,416 ass_kicked.jpg
03/03/2008 11:26 AM 65,300 billshowshillary.jpg
03/25/2008 05:04 PM 61,825 bright ideas and the result.jpg
03/02/2008 07:06 PM 70,293 call her sniffles the clown.jpg
03/03/2008 10:30 AM 120,675 clinton-of-the-damned.jpg
04/09/2008 06:59 AM 67,669 clinton0018.jpg
04/29/2008 05:34 PM 54,691 clinton0023.gif
04/29/2008 05:35 PM 56,297 clinton0024.jpg
04/29/2008 05:35 PM 69,020 clinton0025.jpg
04/29/2008 05:36 PM 78,874 clinton0027.jpg
04/09/2008 06:47 AM 56,811 clinton003.jpg
04/09/2008 06:48 AM 59,070 clinton0035.gif
04/09/2008 06:58 AM 54,362 clinton0037.gif
04/09/2008 06:48 AM 54,148 clinton008.gif
04/09/2008 06:48 AM 60,437 clinton009.jpg
03/03/2008 12:04 AM 78,256 clinton_crossword.jpg
03/03/2008 12:09 AM 64,287 clinton_forrest_hump.jpg
03/03/2008 12:09 AM 61,519 clinton_invitation.jpg
03/03/2008 12:02 AM 49,399 clinton_machine.jpg
03/03/2008 12:05 AM 48,850 clinton_portrait_monica.jpg
03/13/2008 04:05 AM 82,605 closer.jpg
03/11/2008 08:56 PM 63,386 danger.jpg
03/03/2008 11:43 AM 68,111 dumb bitch blew it3.jpg
04/09/2008 03:22 AM 73,648 heroic hillary.gif
03/25/2008 05:08 PM 55,349 hiljail.jpg
03/05/2008 06:24 PM 58,062 hill heil.jpg
04/09/2008 03:48 AM 62,979 hill heil1.jpg
04/29/2008 06:07 AM 49,074 hill wicked witch.jpg
04/29/2008 06:07 AM 104,202 hill witch.jpg
03/02/2008 08:25 AM 73,999 hill's black eye.gif
03/02/2008 01:44 AM 92,105 hillary experience.jpg
03/02/2008 05:53 PM 127,770 hillary forked tongue animated.gif
04/09/2008 03:01 AM 50,911 hillary heroism under fire.jpg
03/02/2008 02:09 AM 135,193 hillary hints.jpg
03/02/2008 05:43 PM 68,095 hillary plan.jpg
04/09/2008 06:19 AM 58,205 hillary the uniter.gif
03/11/2008 08:59 PM 48,444 hillary vs obama.jpg
03/02/2008 06:02 PM 60,949 hillary youth corps.jpg
03/02/2008 07:00 PM 95,882 hillary's last day.gif
03/02/2008 01:27 AM 168,301 hillary's perspective.jpg
03/03/2008 10:31 AM 112,058 hillary-clinton-total-recal2l.jpg
05/01/2008 06:04 PM 75,827 hillary-rocky-clinton.jpg
04/09/2008 06:20 AM 79,362 hillary-s-purple-heart.jpg
03/05/2008 02:06 AM 49,840 hillaryacts.jpg
04/09/2008 03:46 AM 79,834 hillaryimage14.jpg
03/25/2008 06:36 PM 112,318 hillaryobama.jpg
03/01/2008 11:18 PM 103,631 hillaryobamahollywood.png
03/03/2008 12:06 AM 63,529 hillary_collage.jpg
03/03/2008 12:03 AM 57,360 hillary_courts_youth_vote.jpg
03/02/2008 03:18 AM 50,772 hillary_eyes_dollar_300.gif
05/01/2008 05:07 PM 46,137 hillary_gun_hunter.jpg
03/02/2008 06:02 PM 45,582 hillary_medals.jpg
03/02/2008 08:57 AM 48,303 hillary_planting.jpg
03/02/2008 08:05 AM 54,457 hillary_rambabe.jpg
03/03/2008 12:03 AM 51,111 hillary_upcoming_primaries.gif
04/09/2008 03:01 AM 45,767 hillary_wac_wwii.jpg
03/03/2008 12:06 AM 49,074 hillary_wicked_witch.jpg
03/02/2008 08:09 AM 67,915 hillbilly.jpg
04/09/2008 05:03 AM 54,093 hill_raiser.jpg
04/09/2008 03:30 AM 49,911 hs6clipimage_47ed6d81.jpg
03/02/2008 06:59 PM 48,834 image0092.jpg
03/02/2008 06:59 PM 54,121 image0111.jpg
03/26/2008 04:19 AM 51,692 kiss me you fool.jpg
03/26/2008 10:34 PM 47,041 maybe it was just a bee.gif
03/03/2008 12:03 AM 49,453 money problems.jpg
05/07/2008 02:32 AM 46,138 payoff.jpg
03/01/2008 11:19 PM 85,255 progressive governance.jpg
03/01/2008 11:19 PM 64,075 progressives know what's best.jpg
03/02/2008 01:59 AM 131,918 riddle.jpg
04/29/2008 06:16 AM 78,575 robbin' batman.jpg
03/02/2008 06:14 AM 45,911 robocunt.gif
03/03/2008 12:04 AM 55,613 rwc again.jpg
03/26/2008 04:49 AM 47,927 santas_hillary_obama.jpg
03/26/2008 04:15 AM 67,516 scary party.jpg
03/02/2008 07:46 AM 72,881 scary.jpg
03/03/2008 12:06 AM 52,851 she wears the pants.jpg
03/02/2008 01:40 AM 66,514 so brave hillary.gif
03/11/2008 03:39 AM 82,465
supremacy-demotivational-poster--37484.jpg
05/01/2008 05:05 PM 53,129 survivor.jpg
03/02/2008 02:10 AM 79,139 tears of a clown.gif
05/07/2008 10:29 PM 0 text42.txt
03/02/2008 05:45 PM 100,885 thecommunistparty.jpg
03/05/2008 01:54 AM 115,808 vanderbilt_cmdrnchf.jpg
03/02/2008 11:30 PM 100,132 watch your back hilly.gif
03/26/2008 04:33 AM 50,872 white guilt water walker.gif
03/05/2008 02:13 AM 76,671 who's your daddy.gif
03/02/2008 11:10 PM 47,078 witch way bill.jpg
175 File(s) 13,693,826 bytes
2 Dir(s) 75,756,219,904 bytes free
So how do I get this thing done?
--
Ron Ford
"If the Clintons didn't murder Ron Brown, is Bosnia dangerous?"