Re: removing files in the terminal

2012-12-19 Thread Martin McCormick
Password Alert! This message may contain a request for your password. NEVER 
SEND OR RESPOND TO E-MAIL REQUESTS FOR YOUR PASSWORD. For questions about this 
alert, please contact the IT HelpDesk at 405-744-4357 or email 
helpd...@okstate.edu.

--
A couple of things first about terminal since I don't
know how much you are used to using it:

It is very accessible with voiceover but not as good as
it could be so be aware that you may have to use VO-a from time
to time to get a good read of what was printed. Voiceover
doesn't work well with bursty output and will appear to loose
some of what you needed to here. It is not lost, but you will
need to use VO-a to read the scroll-back buffer and then
Command-k to reset it for the next runs.

When you have found the files you want to remove,
individual files can be removed with the rm command as in

rm thisfile.

You can remove a whole directory full of files by using
the -r flag to rm as in rm -r thisdir.

If you goof up and destroy half your system, let's hope
you had good backups because that is the only way to get them
back so be extra careful. There is no undelete function. Once it
is gone, it's gone.

You may find out that you can not delete the files you
are stalking. That is because they install as owned by root. You
can become root on your own system from the terminal by using
the sudo command. What this does is let you become the superuser
while you run this command and then revert back to your
mild-mannered self without the superpowers.

Let's say you find the files and directories you want to
delete but they are owned by root. type something like

sudo rm -r thosefiles

You will probably get a prompt to enter a password and that is
your own login password. This sets a timer for maybe 5 minutes
or so when you can enter other sudo commands without the
password. Each new command starts the timer anew so you only
have to enter your password the first time. four or five minutes
after the last sudo command, the timer times out and you must
enter the password again.

Anyway, that is how you remove files and directories in
terminal.

Good luck and go slowly and methodically. It is not
difficult but it is easy to delete more than you want and as I
said, there is no undelete function, only recovery from backups.

Martin

michael weaver writes:
 how do you remove files and directories in the terminal on the mac? i am
 going to see if i can remove the musicmanager preference file using the
 terminal as no other way i have found that will remove the thing from the
 system preferences and the apps i have found you have to purchase which 
 may
 not be worth it for just trying to get rid of one app that is being 
 stubbon
 to remove and keeps starting up on login and musicmanager is not 
 accessible
 with voiceover.
 
 --- Mac Access At Mac Access Dot Net ---
 
 To reply to this post, please address your message to 
 mac-access@mac-access.net
 
 You can find an archive of all messages postedto the Mac-Access forum 
 at either the list's own dedicated web archive:
 http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html
 or at the public Mail Archive:
 http://www.mail-archive.com/mac-access@mac-access.net/.
 Subscribe to the list's RSS feed from:
 http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml
 
 The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus 
 and worm-free!
 
 Please remember to update your membership options periodically by 
 visiting the list website at:
 http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/
 
 
--- Mac Access At Mac Access Dot Net ---

To reply to this post, please address your message to mac-access@mac-access.net

You can find an archive of all messages postedto the Mac-Access forum at 
either the list's own dedicated web archive:
http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html
or at the public Mail Archive:
http://www.mail-archive.com/mac-access@mac-access.net/.
Subscribe to the list's RSS feed from:
http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml

The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and 
worm-free!

Please remember to update your membership options periodically by visiting the 
list website at:
http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/


Re: removing files in the terminal

2012-12-19 Thread michael weaver

thanks for the advice.
i may have fixed my problem fingers crossed.
i should have known about putting sudo before the rest of the 
command.  i should have known this from my use of linux a while 
ago because ubuntu uses sudo.



- Original Message -
From: Martin McCormick mar...@x.it.okstate.edu
To: Mac OSX  iOS Accessibility mac-access@mac-access.net
Date sent: Wed, 19 Dec 2012 10:58:21 -0600
Subject: Re: removing files in the terminal


Password Alert! This message may contain a request for your 
password.  NEVER SEND OR RESPOND TO E-MAIL REQUESTS FOR YOUR 
PASSWORD.  For questions about this alert, please contact the IT 
HelpDesk at 405-744-4357 or email helpd...@okstate.edu.



-

-

A couple of things first about terminal since I don't
know how much you are used to using it:



It is very accessible with voiceover but not as good as
it could be so be aware that you may have to use VO-a from time
to time to get a good read of what was printed.  Voiceover
doesn't work well with bursty output and will appear to loose
some of what you needed to here.  It is not lost, but you will
need to use VO-a to read the scroll-back buffer and then
Command-k to reset it for the next runs.



When you have found the files you want to remove,
individual files can be removed with the rm command as in



rm thisfile.



You can remove a whole directory full of files by using
the -r flag to rm as in rm -r thisdir.



If you goof up and destroy half your system, let's hope
you had good backups because that is the only way to get them
back so be extra careful.  There is no undelete function.  Once 

it

is gone, it's gone.



You may find out that you can not delete the files you
are stalking.  That is because they install as owned by root.  

You

can become root on your own system from the terminal by using
the sudo command.  What this does is let you become the superuser
while you run this command and then revert back to your
mild-mannered self without the superpowers.



Let's say you find the files and directories you want to
delete but they are owned by root.  type something like



sudo rm -r thosefiles



You will probably get a prompt to enter a password and that is
your own login password.  This sets a timer for maybe 5 minutes
or so when you can enter other sudo commands without the
password.  Each new command starts the timer anew so you only
have to enter your password the first time.  four or five minutes
after the last sudo command, the timer times out and you must
enter the password again.



Anyway, that is how you remove files and directories in
terminal.



Good luck and go slowly and methodically.  It is not
difficult but it is easy to delete more than you want and as I
said, there is no undelete function, only recovery from backups.



Martin



michael weaver writes:
how do you remove files and directories in the terminal on the 

mac? i am
going to see if i can remove the musicmanager preference file 

using the
terminal as no other way i have found that will remove the thing 

from the
system preferences and the apps i have found you have to 

purchase which

may
not be worth it for just trying to get rid of one app that is 

being

stubbon
to remove and keeps starting up on login and musicmanager is not
accessible
with voiceover.



--- Mac Access At Mac Access Dot Net ---



To reply to this post, please address your message to
mac-access@mac-access.net


You can find an archive of all messages postedto the 

Mac-Access forum

at either the list's own dedicated web archive:
http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html
or at the public Mail Archive:
http://www.mail-archive.com/mac-access@mac-access.net/.
Subscribe to the list's RSS feed from:


http://www.mail-archive.com/mac-access@mac-access.net/maillist.x
ml

The Mac-Access mailing list is guaranteed malware, spyware, 

Trojan, virus

and worm-free!


Please remember to update your membership options periodically 

by

visiting the list website at:
http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/




--- Mac Access At Mac Access Dot Net ---


To reply to this post, please address your message to 

mac-access@mac-access.net

You can find an archive of all messages postedto the 

Mac-Access forum at either the list's own dedicated web archive:

http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html
or at the public Mail Archive:
http://www.mail-archive.com/mac-access@mac-access.net/.
Subscribe to the list's RSS feed from:
http://www.mail-archive.com/mac-access@mac-access.net/maillist.x

ml

The Mac-Access mailing list is guaranteed malware, spyware, 

Trojan, virus and worm-free!

Please remember to update your membership options periodically by 

visiting the list website at:

http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/

--- Mac Access At Mac

Re: removing files in the terminal

2012-12-19 Thread Phil Halton

I love run-on sentences.

- Original Message - 
From: michael weaver weavermi...@googlemail.com

To: mac-access@mac-access.net
Sent: Wednesday, December 19, 2012 11:02 AM
Subject: removing files in the terminal



how do you remove files and directories in the terminal on the mac?
i am going to see if i can remove the musicmanager preference file using 
the terminal as no other way i have found that will remove the thing from 
the system preferences and the apps i have found you have to purchase 
which may not be worth it for just trying to get rid of one app that is 
being stubbon to remove and keeps starting up on login and musicmanager is 
not accessible with voiceover.

--- Mac Access At Mac Access Dot Net ---

To reply to this post, please address your message to 
mac-access@mac-access.net


You can find an archive of all messages postedto the Mac-Access forum 
at either the list's own dedicated web archive:

http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html
or at the public Mail Archive:
http://www.mail-archive.com/mac-access@mac-access.net/.
Subscribe to the list's RSS feed from:
http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml

The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus 
and worm-free!


Please remember to update your membership options periodically by visiting 
the list website at:
http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/ 


--- Mac Access At Mac Access Dot Net ---

To reply to this post, please address your message to mac-access@mac-access.net

You can find an archive of all messages postedto the Mac-Access forum at 
either the list's own dedicated web archive:
http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html
or at the public Mail Archive:
http://www.mail-archive.com/mac-access@mac-access.net/.
Subscribe to the list's RSS feed from:
http://www.mail-archive.com/mac-access@mac-access.net/maillist.xml

The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and 
worm-free!

Please remember to update your membership options periodically by visiting the 
list website at:
http://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/