Thread: Bash script
View Single Post
Join Date: Sep 2007
Posts: 60
Reputation: evios is an unknown quantity at this point 
Solved Threads: 0
evios evios is offline Offline
Junior Poster in Training

Bash script

 
0
  #1
Oct 3rd, 2008
Hi to all the experts here, I am a true newbie on bash script and I have a couple of questions need to seek help:

1. What does "safe" delete command script means? I am confused with this statement:
Write a "safe" delete command script. Filenames passed as command-line arguments to this script are not deleted, but instead gzipped if not already compressed, then moved to a /home/username/trash directory.

Basically it is an assignment, does it means those file names typed in command line will not be deleted and compress it to tarz if it is not? How to implement it using file command? Thanks in advance.
Reply With Quote