Results 1 to 10 of 10
  1. #1


    Member Since
    Jul 10, 2008
    Posts
    33
    Batch Edit File Privileges
    I am trying to edit the privileges on a bunch of files I have created (.xls) It seems that sometimes these privileges will allow me to edit/open docs from a remote pc on my network and sometimes it won't. I am not sure why the privileges are different on some. But I would like to batch edit all of them to allow access (read/write) from any pc/mac on my network. Is this possible?
    I have about 300 files and do not want to do it one by one.

    Thanks,

  2. #2

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,866
    Specs:
    Way... way too many specs to list.
    are they all in the same directory?
    mike
    This machine kills fascists
    Got # ? phear the command line!

  3. #3


    Member Since
    Jul 10, 2008
    Posts
    33
    Yes, If I highlight them and go to "get info". It says under Sharing and Permissions - "You have Mixed Access". But will not give me the option to change it

  4. #4

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,866
    Specs:
    Way... way too many specs to list.
    if you drop to a terminal window you can do a


    chmod 755 /path/to/directory/*.xls

    755 is user read, write, execute. group, read, execute other, read execute
    mike
    This machine kills fascists
    Got # ? phear the command line!

  5. #5


    Member Since
    Jul 10, 2008
    Posts
    33
    It keeps giving me "No such file or directory"
    My path is "chmod 755 /Users/chad/Documents/Work/Missouri/Excel Site Surveys/Uploaded/*.xls"

    Any ideas what I am doing wrong?

    Thanks for the help

  6. #6


    Member Since
    Aug 05, 2008
    Location
    Central New York
    Posts
    327
    You can't use spaces in a file path unless you put quotes around the whole path name or escape the spaces (e.g Excel\ Site\ Surveys).

    An easier way would be: type cd<space> in the terminal; drag the folder in question to the terminal window; press return - this will get you to the correct directory; then type chmod 755 *.xls and return; done.

  7. #7


    Member Since
    Jul 10, 2008
    Posts
    33
    I finally got back to this and can now get to the file. (Thanks to Ron4Mac). But it finds the first file in the directory and says "Permission Denied". I am logged in as an admin. Any ideas now?
    Again Thanks,

  8. #8

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,866
    Specs:
    Way... way too many specs to list.
    might not have permissions at this point. do a

    ls -l /Users/chad/Documents/Work/Missouri/"Excel Site Surveys"/Uploaded/*.xls
    mike
    This machine kills fascists
    Got # ? phear the command line!

  9. #9


    Member Since
    Jul 10, 2008
    Posts
    33
    I think that worked. Thanks for all your help.

  10. #10

    Dysfunction's Avatar
    Member Since
    Mar 17, 2008
    Location
    Tucson, AZ
    Posts
    6,866
    Specs:
    Way... way too many specs to list.
    well, that will show permissions. if you don't have w, you're not going to be able to change them without doing a sudo or.. a chown
    mike
    This machine kills fascists
    Got # ? phear the command line!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automator Q: Batch Edit image color
    By JoshJ in forum OS X - Apps and Games
    Replies: 2
    Last Post: 11-14-2012, 04:34 PM
  2. Help with batch file conversion
    By robdog6942 in forum OS X - Operating System
    Replies: 2
    Last Post: 04-27-2010, 08:59 PM
  3. batch file name change
    By sachadon in forum Switcher Hangout
    Replies: 1
    Last Post: 11-30-2009, 08:19 PM
  4. any freeware to batch edit, rename or add signature for photos?
    By koinmove in forum Images, Graphic Design, and Digital Photography
    Replies: 4
    Last Post: 11-17-2009, 11:33 PM
  5. Changing privileges to Edit XP partiton
    By hazard99 in forum Running Windows (or anything else) on your Mac
    Replies: 7
    Last Post: 05-14-2007, 06:42 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •