• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
LS command returns hidden files on OS X Leopard server
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: LS command returns hidden files on OS X Leopard server
      • From: LuKreme <email@hidden>
    • Re: LS command returns hidden files on OS X Leopard server
      • From: Doug McNutt <email@hidden>
  • Prev by Date: Mdfind and delete
  • Next by Date: Re: LS command returns hidden files on OS X Leopard server
  • Previous by thread: Re: Mdfind and delete
  • Next by thread: Re: LS command returns hidden files on OS X Leopard server
  • Index(es):
    • Date
    • Thread