LS command returns hidden files on OS X Leopard server
LS command returns hidden files on OS X Leopard server
- Subject: LS command returns hidden files on OS X Leopard server
- From: Jim Skibbie <email@hidden>
- Date: Sat, 24 Oct 2009 13:25:02 -0500
- Thread-topic: LS command returns hidden files on OS X Leopard server
Title: LS command returns hidden files on OS X Leopard server
This may be a little off topic. I have a do shell script command to perform an “ls” of a directory like:
set x to do shell script (“ls /”)
The server that this script runs on returns hidden files (like .DS_Store, .TemporaryItems, etc.) with this command as if the command was “ls –a” even though I didn’t request it that way.
I can’t find any profile that would be setting an alias to turn “ls” into “ls –a” so I’m stumped.
The script runs on a machine running OS X Leopard Server with the user logged in as root. I don’t know if being logged in as root has something to do with it or not.
Thanks.
Jim
_______________________________________________
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