Applications :: Terminal Command To Delete A Folder Filed With Locked Files?

Jun 27, 2007

I was helping a friend by reformatting his pc and reinstalling windows because it was slow, when I was downloading the drivers for it on my MacBook Pro (didn't have access to the router since it's downstairs and his pc didn't have a wireless card), it downloaded a folder filled with locked files, it comes several folders deep and all of the files are locked, fun. So I tried to delete it using sudo rm -r, but it says I don't have sufficient privileges, anyone know a command I can use to delete it all? I'd rather not do it by hand, that'd take forever.

View 10 Replies


ADVERTISEMENT

OS X :: Command For Opening Files In Terminal?

Jun 25, 2006

You'd think this was all pretty basic. It probably is.

I'm trying to open/edit '/usr/local/php5/lib/php.ini' with TextWrangler through Terminal. The TextWrangler part isn't an absolute requirement. The directory exists and I'm assuming the file does as well. (No 404-esq errors during my fumblings and it was a standard installation of PHP5)

Also, is there any way to browse through the above directory using the Finder's GUI? That would be nice.

View 5 Replies View Related

OS X :: Unable To Delete Locked Folder?

Aug 4, 2010

So I had this Windows folder on an external HD that I tried to delete on my Mac. I've tried option+click to delete the trash, I tried secure empty trash and they didn't work. I also tried to unlock the folder but it just won't unlock.

View 1 Replies View Related

OS X :: Unix Command In Terminal To Replace Certain Characters In Files?

Jun 28, 2009

I have a boat load of mp3 files that have a _ instead of a space in the file name. I figure there must be a magical command in the Unix terminal window that would rename the file based on a replacement string.

I want to replace all _ in a file name with a Space. Is there an easy way to do this? Or, maybe a free utility I can download? I'm trying to clean up my files!

View 9 Replies View Related

Intel Mac :: Unable To Delete Jpg Files And RAW Files From Applications Folder?

Apr 18, 2012

I have tried moving them to the trash, as well as using the move to trash button. They seam to go to the trash can but when I delete the trash they are still in the file. I am trying to clear out some old files so that I can have room on my start up disk. My Disk is full and it is making it hard for me to open more then one file. I am getting an external hard drive soon but don't want these files on it.

Info:
iMac

View 3 Replies View Related

Applications :: Terminal Command To Get External IP Address

Mar 13, 2004

Is there a terminal command that will display your external IP address? ifconfig and netstat only seem to report my local/network address, so I've been using curl and awk to parse [URL]. But I'd prefer a way that doesn't rely on an http call. Not to mention that my method will fail if/when dyndns changes the format of that page.

View 14 Replies View Related

Applications :: Uninstall Lynx - Any Terminal Command For Removing

Sep 17, 2010

I recently installed Lync on my 2010 Macbook Pro to do some stuff with geektools. I want to now remove Lynx from my Mac but can not figure out how? I don't know where all the files are. Is there a terminal command to completely remove it? Or someone said something about a packet manager to uninstall it? I cant seen to find the right answer out any where. Nothing about removing it on their site either. Here is the site:
http://www.osxgnu.org/software/pkgde...project_id=226
I downloaded and installed ver 13, its the 2nd one down.

View 3 Replies View Related

Intel Mac :: Trying To Delete Files / Locked Item That Can't Find

May 24, 2012

I am working on clearing off some hard drive space, and my first step was to remove some unneeded items from an external HD to make some space there. When I drag the folder I'm trying to delete to the trash, I first get a message that the items will be immediately deleted (I think because my internal HD is quite full?) and that's fine because I do want to delete these, so I say OK. It starts the process of deleting, and counting how many files it's deleting, then gives me a message that the operation cannot be completed because item "xx" is locked. The only solutions I have found on here involve unlocking "xx" but my problem is, when I search the computer and/or the external for item "xx" nothing is found. I'm really not sure if the issue with item "xx" is an issue with the drive or with the computer, or what to do about it?? If it's the drive, I suppose I could back up what I do want to save from the drive then re-format it?

Info:
iMac (24-inch Early 2008), Mac OS X (10.6.8)

View 5 Replies View Related

OS X :: Cannot Empty Trash - 720 Locked Files In Folder

Mar 23, 2009

I went through and deleted a lot of stuff then when I was emptying the trash it said that there was a locked file so I found out were it was pulled it out and then got rid of everything else there are about 720 locked files in the folder then I tried to find a quicker way to delete it then I found out how to unlock them so I went to pull them out but it just made a copy of it so now and I put it back in the trash not thinking about how that just adds on to the files so how can I get them out or make it so I can press continue just once for them all to go away.

View 4 Replies View Related

Applications :: Automatically Print And Delete The Files In A Folder With Automator?

Oct 1, 2009

I am new to Automator, and even though I have been tinkering around with it for about an hour, I can't seem to create an action.

What I want to do is have Automator automatically take the contents of a specific folder on my hard drive, print the contents of the folder (usually PDFs), then delete the files. I use dropbox, so when I place a pdf into this folder from my laptop on the go, it would be nice to come home to it printed, and no longer in the folder taking up space.

View 1 Replies View Related

OS X V10.7 Lion :: How To Unlock A Locked Folder On External Drive When Locked Checkbox Greyed Out

Jun 26, 2012

I use an external hard drive for Time Machine backups and to store some larger video files in a folder called Videos.  The Videos folder on the external drive is now locked and I can't unlock it.  I go to Get Info, hit the lock icon and enter my password, but the "Locked" checkbox is greyed out in the General section.  In the Sharing and Permissions section, instead of displaying my name, it says "Fetching . . ." and I can't change the Privilege from "Write Only". 

Info:
MacBook Pro (15-inch Early 2011), Mac OS X (10.7.3)

View 1 Replies View Related

Applications :: Can't Delete Locked File - How To Fix It

May 31, 2010

After getting my flash drive back from a friend, it had a Win32 virus on it. These are normally locked, and I usually just go into Get Info and unlock it. This particular file, however, doesn't let me unlock it. And since I can't unlock it, I can't delete it.

View 5 Replies View Related

OS X V10.7 Lion :: Preview Shows Files As Locked While They Are Not Locked?

Jul 1, 2012

I can't seem to edit any pictures with Preview anymore since I upgraded to Lion.  Every time I try to save an image after resizing or whatever, it says the file is locked.  If I check the info of the file the "locked" checkmark is unchecked.  And I have all the permissions to the file.  Tried everything, switched the "lock after 2 weeks" thing of in Time Machine (even though tha would probably not help: images I took today are still "locked" in Preview), tried copying them and then saving them, and tried to lock them and then unlock them, but I can't seem to edit and save them.

View 1 Replies View Related

OS X :: Top Command In Terminal?

Sep 30, 2009

Can anyone tell me what this "*" means beside mathematica and mathkernel? I'm using snow leopard.

View 5 Replies View Related

OS X :: Terminal Command For OS X?

Mar 5, 2010

Simple request and for some reason my google-fu is failing me. How do I change the volume (drive not audio) in the Terminal app in OS X. I am using SL.

View 24 Replies View Related

OS X :: Won't Work With Locked Files / Not Locked In Get Info

May 13, 2009

Getting a message within photoshop that files cannot be saved as they are locked. I check the same files with 'Get Info' and the locked file box is unchecked. I have changed file permissions on the entire disc so that everyone can read/write but still the same message. Tried terminal command to uncheck flags also to no avail. I can do save as but a little frustrating. Is there a workaround to get all my files back onside?

This is a new disc that I may have installed without due care to permissions/ownership when I formatted it.

details: g5 dual 1.8 10.5.6

View 4 Replies View Related

OS X :: Command To Clear Terminal?

Oct 5, 2010

Is there a command to clear the terminal screen that works like 'cls' on Windows? I know about 'clear', but clear just moves the prompt on the top of the screen, leaving the previous output visible if I scroll up.

A friend suggested 'clear_console' (I think he's on debian) but I can't find it on OS X or MacPorts.

View 7 Replies View Related

OS X :: Command Not Found In MAC OS Terminal?

Oct 29, 2010

I want to build a redboot kernel in a wireless router, the command required from my newly acquired knowledge is insmod and modprobe.

However from the mac 10.5.8 terminal it says that the command is not found. I have installed gcc , sdk compiler support and enabled the super user as well.

View 3 Replies View Related

OS X :: Run Terminal Command At Startup?

Nov 29, 2007

Seems like a simple thing to do, yet I've searched and not found an answer.

Automator doesn't seem to have a terminal function...?

Does anyone know?

View 8 Replies View Related

OS X :: How Can I Easily Run A Terminal Command

Nov 19, 2008

I want to run some terminal commands fairly often... yet I don't want to have to type them. I just switched from windows, so I need some help as to how to do this.

In windows I would've just used a batch file to run command prompt commands. I need something that will let me just run it and it will automatically run the commands.

View 3 Replies View Related

OS X :: How To Reverse Terminal Command

Mar 4, 2009

I ran this command in terminal to change my screen shot to jpg format. Now my screenshot doesn't work. Any idea how to fix or reverse this?

View 2 Replies View Related

OS X :: Terminal Command For Current App?

Apr 9, 2009

Is there a command for terminal to get the current application?

View 4 Replies View Related

OS X :: How To Fill Out This Command In Terminal

Jun 20, 2009

can someone please tell me how to fill out this command in terminal?

./compressIt /to/image/file.iso

View 3 Replies View Related

OS X :: Terminal Says Command Not Found?

Jul 2, 2009

Last login: Tue Jun 30 15:38:02 on console

-bash: 2-18-09: command not found


I can use the Control>C command to quit that and return to normal. But it's a waste of time and I can't seem to figure it out. A Genius Bar Genius said to Archive and Install, but I don't think it's necessary. I just want to know how I can find whatever it is that's screwing it up.

View 14 Replies View Related

OS X :: Cannot Run Sudo Command In Terminal

Nov 29, 2009

I can't seem to run a sudo command in the OS X terminal. Every time I run a sudo command, I get no response, as if the command is not run at all. My sudo appears to be broken somehow. I've got a problem with mounting an NTFS drive that is dirty. I have a command I am trying to run using the "sudo" command, but it is not working.

Code: sudo /usr/local/bin/ntfs-3g /dev/disk0s3 /Volumes/WIN XP -o force

After the sudo, I am prompted for my password, but after that the only response I get is another prompt, as if the command was totally ignored. I have tried many different commands after the sudo, and cannot get a response from anything. I even tried "sudo tcsh", which should open up a new shell, but nothing. "sudo ls" also shows nothing, just another prompt.

View 11 Replies View Related

OS X :: How To Run A Terminal Command When Logging In

Jul 23, 2010

What is the best way to run a terminal command when logging in? And by �best� I mean �fastest.� I�ve been encapsulating my commands in an Applescript, but it�s terribly slow to load, and I�m hoping there�s some UNIX back-end I can use to speed things up.

Specifically, I want to run a shell script that I wrote. It decrypts some folders inside my Home directory so I can use them (this part works seamlessly, I just need it to auto-run itself).

View 13 Replies View Related

OS X :: Terminal Erase Disk Command?

Apr 22, 2009

I need to erase a disk I bought with NO formatting. I shouldn't have initialized it when I connected it, and now I need to erase it but do NOT want to format it.

I've been trying to use diskutil eraseDisk %noformat% /dev/disk1

Like the diskutil eraseDisk instructions tell me to, but it won't take.

View 3 Replies View Related

OS X :: IP Address Terminal Command On Network?

May 27, 2009

I used to know a command that would show all of the ip address and the name of the devices on your network. I have not use the command in a while and I forgot it.

View 11 Replies View Related

MacBook Pro :: Can I Screw Up My Mbp With This Terminal Command

May 28, 2010

Just bought a new MacBook Pro yesterday and I'm having trouble getting Time Machine to work with my NAS (WD My Book World Edition which supposedly supports Time Machine after their last firmware update). Time Machine sees it and starts writing to it but then stops recognizing the external NAS drive even though it's still connected to the network and I can access it and its files through the Finder.

So I did some Googling and came across this article and this command line...

View 9 Replies View Related

OS X V10.5 Leopard :: Undo A Terminal Command?

May 12, 2012

I was frustrated with Google Chrome quiting whenever I accidently pressed command q, so I tried out some terminal commands I found online. One was defaults write NSGlobalDomain NSUserKeyEquivalents '{"Quit Google Chrome" = "@Q"; "Preferences..." = "@;";}' I don't know what the other was. They stopped chrome from quiting with command q, but now I can't quit chrome AT ALL.  Is there a way to undo everything I've ever done in terminal?  I should not be touching it...

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved