simple way of using Terminal to mass unlock files

Discussion in 'macOS' started by yelf, Jul 31, 2015.

  1. yelf macrumors newbie

    Joined:
    Jul 31, 2015
    #1
    Hi. I have thousands of audio files which need unlocking. Previously i used terminal but i can't remember exactly what i did. I had the webpage detailing the process saved on an old phone.

    It was very simple and involved dragging the files into the Terminal window, and typing a simple command like chmod/r then hitting enter.

    Ive searched numerous times online but chant find it. All the other ways I've seen (select all, cmd+I, then clicking the padlock symbol doesn't work). The scripts with flags etc are verily complex and seem problematic.

    can anyone help?

    Thanks
     
  2. Gav2k macrumors G3

    Gav2k

    Joined:
    Jul 24, 2009
    #2
    1. Open the Terminal.
    2. Type the following command, followed by a single space (do not press enter yet).
      sudo chflags nouchg

    3. Drag the locked file from the Finder to the Terminal window to complete its full folder path.
    4. Press Enter to run the command, supplying your password when prompted.
     
  3. yelf thread starter macrumors newbie

    Joined:
    Jul 31, 2015
  4. ocabj macrumors 6502a

    ocabj

    Joined:
    Jul 2, 2009

Share This Page