[X4U] Re: change date modified of folders?

Doug McNutt douglist at macnauchtan.com
Thu Apr 24 14:37:55 PDT 2008


At 14:55 -0400 4/24/08, stephen e. schwartz wrote:
>thanks john; your script works fine but is a bit tedious; especially as
>terminal window is so un-mac-like. can't select a character and change it;
>have to do editing in something else and paste in. have to type folder
>name; can't select copy paste into command line; but at least * helps. oh
>well; that's why I use a mac.

If you want to spend a couple of $$ you can try BBEdit worksheets. You have what looks like an editable text file with a kicker. If you select anything in the file and poke the ENTER key it gets executed as a shell command. Bare Bones' free Text Wrangler version doesn't do worksheets.

Or . . . you can get the same functionality for free with Apple's MPW except that Apple has never ported it to OS neXt and refuses to release the source code.

Both of those will allow you to drag a finder item into a line of text. The result is that the POSIX path to the file or folder is placed at the insertion point.

There is also a service that I found somewhere called Execute Text which will send selected text to a newly created instance of your shell and execute it. The problem there is that things you did before, like changing a working directory, are forgotten. It's OK for one-liners though. Type "date" into a text file, select it, and choose the Execute Text item from the Services menu..

-- 

--> From the U S of A, the only socialist country that refuses to admit it. <--


More information about the X4U mailing list