image
image

|


Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
Thread Tools
  #1  
Old April 7th, 2003, 06:41 AM
wicky's Avatar
play thing
 
Join Date: Jul 2002
Location: London
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts
wicky is on a distinguished road
unlocking multiple files

i've got an old fonts folder, that refuses to be deleted.

the problem is, that there are hundreds of files in the folder and for some reason, some of them are locked and others aren't. i've had a look at the info panel but can't unlock all of the files in one go, as the lock command is not active.

it will take hours to go through unlocking and deleting them one by one. so, is there a more intelligent way of getting 'round the problem?

cheers
Reply With Quote
  #2  
Old April 7th, 2003, 09:47 AM
Giaguara's Avatar
Chmod 760
 
Join Date: Nov 2002
Posts: 7,405
Thanks: 0
Thanked 2 Times in 2 Posts
Giaguara is on a distinguished road
open terminal (Applications folder, in there Utilities - unless you have moved it to another folder).

chmod 760 (then hit the space once) (and then drag the folder you want modified to terminal window).
that will modify the permissions (760 is an example, 766 could do as well, or 777, 740, 740 etc) so you can modify the files in it one by one without manually changing the prmissions file by file.
if you get an error message, try the same thing with 'sudo' in the beginning =
sudo chmod 760 (then hit the space once) (and then drag the folder you want modified to terminal window).
(then it asks your root pw)

if you want to remove ALL of that folder, just

sudo rm (then hit the space once) (and then drag the folder you want modified to terminal window).
(and then it asks again your root password).
__________________
MacBook Pro + Mac mini | Newton 2000 | @Work : Dell D620 & 2x20" + a lot of Macs | Workstation, VC & Fusion
Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do.
~ Samuel Clemens | Rants | Photos
Reply With Quote
  #3  
Old April 7th, 2003, 10:35 AM
wicky's Avatar
play thing
 
Join Date: Jul 2002
Location: London
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts
wicky is on a distinguished road
cheers, but....

"chmod" doesn't seem to do anything, and "sudo rm" returns a message that it's a directory, but doesn't delete it.

i'm probably doing something really obviously wrong, but i'm new to the terminal way of things.
Reply With Quote
  #4  
Old April 7th, 2003, 10:37 AM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 1 Time in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
Open the terminal and type:

cd ~/.Trash
<hit return>

sudo rm -rf

put a space after the f and drag the item you want deleted to the terminal so that its path is automatically entered, then press return

give it your admin password and hit return

This is actually more typing than is strictly necessary, but Changing Directory to the trash helps make certain you won't ReMove anything that is outside of that directory. You could just type "rm -rf *" to remove everything inside of the directory, but again being specific helps avoid mistakes.
__________________

Reply With Quote
  #5  
Old April 7th, 2003, 10:45 AM
wicky's Avatar
play thing
 
Join Date: Jul 2002
Location: London
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts
wicky is on a distinguished road
cheers. that worked a treat.

i like this command line stuff, it makes more sense than the gui.... straight to the heart of the matter. i don't suppose you can recommend any decent reading, on how i get to grips with the back end. i'm a designer not a programmer, but i'd like to get to get my head 'round the basic's
Reply With Quote
  #6  
Old April 7th, 2003, 11:08 AM
bobw's Avatar
The Late: SuperMacMod
 
Join Date: Mar 2001
Location: Phila,PA
Posts: 8,835
Thanks: 0
Thanked 1 Time in 1 Post
bobw has a spectacular aura aboutbobw has a spectacular aura about
You can get a lot of info HERE
__________________

Reply With Quote
  #7  
Old April 7th, 2003, 11:14 AM
wicky's Avatar
play thing
 
Join Date: Jul 2002
Location: London
Posts: 354
Thanks: 0
Thanked 0 Times in 0 Posts
wicky is on a distinguished road
Cool

thanx.

ooooohhh.... looks like quite a lot of stuff to get my head 'round.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Photoshop Q: mass changes to multiple files? themacko Design & Media 4 December 4th, 2002 11:01 PM
Multiple rar files set128 Mac OS X System & Mac Software 1 March 15th, 2002 03:20 PM
Changing dates on multiple files? Kristjan Mac OS X System & Mac Software 1 February 1st, 2002 12:22 AM
Native FTP program? bighairydog Apple News, Rumors & Discussion 17 November 30th, 2001 02:31 PM
Multiple index files and server admin ? Jkle Mac OS X System & Mac Software 1 November 17th, 2001 02:57 AM


All times are GMT -5. The time now is 12:26 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.