Re: [Tutor] Copy script

2008-04-10 Thread linuxian iandsd
could you do a : dir /b inside this directory just so that we can know the real file names. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Copy script

2008-04-10 Thread Tony Cappellini
Message: 7 Date: Thu, 10 Apr 2008 01:46:49 +0100 From: Alan Gauld [EMAIL PROTECTED] Subject: Re: [Tutor] Copy script To: tutor@python.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original I don;t see how the input file relates

Re: [Tutor] Copy script

2008-04-10 Thread Alan Gauld
Tony Cappellini [EMAIL PROTECTED] wrote I don;t see how the input file relates to the pdf files? Which part of the pdf file does the input numbers refer to? Kent, I believe the text file contains the name Actually that was me :-) The problem with the Windows console commands is I don't

Re: [Tutor] Copy script

2008-04-10 Thread Tony Cappellini
Of course they do - they can use input redirection just like Unix. Oh,-I have forgotten about that. But why use clunky batch language when you can use Python? After all, he did post this to the python list. ___ Tutor maillist - Tutor@python.org

[Tutor] Copy script

2008-04-09 Thread Que Prime
I have a folder of 150,000 pdf files and I need to copy 20,000 of them to another folder. The ones I need to copy are in a .txt file. Attached is a sample of the input .txt file and a dos directory of the folder containing the files. I'm not sure of the best way to accomplish this. Thank you

Re: [Tutor] Copy script

2008-04-09 Thread Alan Gauld
Que Prime [EMAIL PROTECTED] wrote I have a folder of 150,000 pdf files and I need to copy 20,000 of them to another folder. The ones I need to copy are in a .txt file. Sounds straightforward but... Attached is a sample of the input .txt file and a dos directory of the folder containing

Re: [Tutor] Copy script

2008-04-09 Thread bob gailer
Alan Gauld wrote: "Que Prime" [EMAIL PROTECTED] wrote I have a folder of 150,000 pdf files and I need to copy 20,000 of them to another folder. The ones I need to copy are in a .txt file. Sounds straightforward but... Attached is a sample of the input .txt

Re: [Tutor] Copy script

2008-04-09 Thread Kent Johnson
Que Prime wrote: I have a folder of 150,000 pdf files and I need to copy 20,000 of them to another folder. The ones I need to copy are in a .txt file. Attached is a sample of the input .txt file and a dos directory of the folder containing the files. I'm not sure of the best way to

Re: [Tutor] Copy script

2008-04-09 Thread Anthony Baldwin
Alan Gauld wrote: Que Prime [EMAIL PROTECTED] wrote I have a folder of 150,000 pdf files and I need to copy 20,000 of them to another folder. The ones I need to copy are in a .txt file. Assuming the text file is a list of those to be copied, wouldn't a simple bash script do the