Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Actionboy

    Emulating rm command

    Cheers!
  2. Actionboy

    Emulating rm command

    Thanks for replying, but what is confusing me is how to handle it if someone used options with the command, like saferm -iv or something, what kind of loop contruct would I have to use to check for each option? Also, how do I check to see if the file actually exists?
  3. Actionboy

    Emulating rm command

    Can anyone give me some code for writing a safe version of rm that will move stuff to a specified directory? The first bit is easy I know but sorting out the options and checking whether the files/directories exists is causing me problems. Help! This is quite urgent. I'm at a unix seminar &...

Part and Inventory Search

Back
Top