Re: Need Code

2013-03-30 Thread G. T. Stresen-Reuter
On Mar 30, 2013, at 1:14 AM, Tom Robinson wrote: for f in *; do mv $f 403 $f; done find path/to/folders/containing/files -type f | while read FILENAME; do mv $FILENAME $FILENAME.jpg; done Be sure to work on a copy of the original set of folders in case there's a problem (in case the script

Re: Need Code

2013-03-30 Thread Walter (Mike) Casey
I wish to thank everyone for replying. I am going to try Automator. MikeC On Mar 30, 2013, at 4:51 AM, G. T. Stresen-Reuter tedmaster...@gmail.com wrote: On Mar 30, 2013, at 1:14 AM, Tom Robinson wrote: for f in *; do mv $f 403 $f; done find path/to/folders/containing/files -type f |

Need Code

2013-03-29 Thread MikeC
I seldom use BB Edit so I am a novice. Would someone please provide code for placing .jpg at the end of hundreds of file names in a single folder. Example: Folder A contains files: ATH01 ATH02 ATH03 BKJ01 and so on. Thank you in advance Mike Casey -- -- You received this message because you

Re: Need Code

2013-03-29 Thread Ron Catterall
Name Mangler will do this, and lots more. i...@manytricks.com Ron On 3/29/13 6:14 PM, MikeC wrote: I seldom use BB Edit so I am a novice. Would someone please provide code for placing .jpg at the end of hundreds of file names in a single folder. Example: Folder A contains files: ATH01 ATH02

Re: Need Code

2013-03-29 Thread Neil Faiman
On Mar 29, 2013, at 8:14 PM, MikeC mi...@caseyspm.com wrote: I seldom use BB Edit so I am a novice. Would someone please provide code for placing .jpg at the end of hundreds of file names in a single folder. Example: Folder A contains files: ATH01 ATH02 ATH03 BKJ01 and so on. This

Re: Need Code

2013-03-29 Thread Tom Robinson
That's not something BBEdit can do. Try Automator, AppleScript, or something similar to this on the command line (this code adds the prefix '403' to all the files in the current directory): for f in *; do mv $f 403 $f; done Cheers Sent from my iPad On 30/03/2013, at 13:14, MikeC

Re: Need Code

2013-03-29 Thread Robert A. Rosenberg
At 17:14 -0700 on 03/29/2013, MikeC wrote about Need Code: I seldom use BB Edit so I am a novice. Would someone please provide code for placing .jpg at the end of hundreds of file names in a single folder. Example: Folder A contains files: ATH01 ATH02 ATH03 BKJ01 and so on. Thank you