Quote:
Originally Posted by reborg
Well we don't allow homework/coursework here, but since you have made the main effort I'll bend the rule. You can do it the way you originally intended. You need to combine it with a find command similar to the one above, but you will need it to work on directories you will also encounter one more problem doing this but you should be able to figure it out by reading the man pages for find.
Thanks,
I am runnign the find command in the above script to shred and I still get missing argument to -exec as an error message, I have it printed exactly as above with the ";" added and space at the end.
Any ideas why it won't work in my script, BTW it works from the command line becase I ran it without a file argument and it deletd all my files!!
Ta
Jack