Bash script. help needed
hello,
I've written my first bash script but I ran into some problems. :newbie: Quote:
If the filename is *.part1.rar, *.part2.rar, etc. it keeps extracting the file over and over again. How do I tell script to stop if $FILE exist ? :confused: Thanks in advance.. Tazthecat |
|
thanks flower.Hercules for your response.
I have found out that instead of 'rar x *.rar' 'rar x -o- *.rar' -o- is to stop if file exists. Here is another script I wrote to sort my download folder. Quote:
Scripting is still hard for me, but I try try again...... |
All times are GMT -5. The time now is 07:27 AM. |