• 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
Re: Command Line Fix for Locked Files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Command Line Fix for Locked Files?


  • Subject: Re: Command Line Fix for Locked Files?
  • From: Graff <email@hidden>
  • Date: Mon, 02 Feb 2004 18:37:35 -0500

If you have the Developer Tools installed then you can use /Developer/Tools/SetFile

Here's an example of how to unlock a file:

/Developer/Tools/SetFile -a l /path/to/file


If you run SetFile without any parameters you will get some basic help on what you can do with it. Note that you use a lowercase letter to turn a setting false and an uppercase letter to turn a setting true. That's why the letter after the "-a" flag is a lower case "L" in the example I gave.

- Ken

On Feb 2, 2004, at 4:05 PM, Arvid Burns wrote:

Hi,

Checked the archives and didn't find what I'm looking for. Sorry if this has
been totally hashed over.

I'm looking for a command line method for unlocking files. Any help or
pointers is appreciated.

thanks
ab
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Command Line Fix for Locked Files?
      • From: Christopher Nebel <email@hidden>
    • Re: Command Line Fix for Locked Files?
      • From: Arvid Burns <email@hidden>
References: 
 >Command Line Fix for Locked Files? (From: Arvid Burns <email@hidden>)

  • Prev by Date: Re: Using list from text file to create folder, search, and copy
  • Next by Date: Re: Using list from text file to create folder, search, and copy
  • Previous by thread: Command Line Fix for Locked Files?
  • Next by thread: Re: Command Line Fix for Locked Files?
  • Index(es):
    • Date
    • Thread