On 13-Jan-2010, at 00:50, Bruce Van Allen wrote:
> Here's one of my uses:


Wow. that's so much more involved than anything i do with them, but I still 
find them almost magical in their abilities. One thing I find myself doing a 
lot is renaming a lot of files. For example, I have a directory where I've 
encoded a bunch of DVDs of some TV show. 

I used a shell worksheet to first run a command over the entire directory 
structure, first to convert the files from their current format to h264 
"Normal" and then used a find replace to rename the resulting files.

I could maybe have written a much more complicated shell script to just do it 
all, but it was so easy to do it in the shell worksheet

Find: ^(.*)\.mpeg\.m4v
Repl: mv "&" "\1.m4v"

(yeah yeah, I know I'm reencoding, but it's a freaking TV show and I'm not 
going back to the original DVDs. I am saving 50-60% of the filesize though)

Then simply hit enter and all the files get renamed. Pretty tame stuff compared 
to what you are doing, but insanely useful to me.

-- 
Windle shook his head sadly. Five exclamation marks, the sure sign of an insane 
mind. --Reaper Man

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "[email protected]" rather than posting to the group.

Reply via email to