Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Silly Terminal Question: Syntax/command to Lock a file?
#7
Figured it out!
(Well, OK.. I found a place at MacOSXHints where someone way smarter than me figured it out....)

"chflags will let you lock and unlock files.

chflags uchg ~/Desktop/test.txt

this would lock a file

chflags nouchg ~/Desktop/test.txt

this would unlock the file


Worked great!
Reply


Messages In This Thread
Re: Silly Terminal Question: Syntax/command to Lock a file? - by Paul F. - 02-26-2007, 10:22 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)