Re: Script that "Tells" Finder just Focuses on Finder instead of running
Re: Script that "Tells" Finder just Focuses on Finder instead of running
- Subject: Re: Script that "Tells" Finder just Focuses on Finder instead of running
- From: 2551 <email@hidden>
- Date: Sat, 03 Jan 2015 23:32:31 +0700
The problem is that it doesn't print file names, only folder names and subdirectories. I need that *plus* what files are in each directory.
Then just take out the initial grep:
ls -R | sed -e 's/://' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' | open -f
The output's not quite as readable for my taste (it'll first list all folders and files, then start iterating through their subdirectories, listing the entire contents of each before the contents of the subdirectories of each, and so on). Someone better at shell scripting than I may be able to format the output better.
Phil |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden