(also good for backups, etc)
Code: Select all
#!/bin/bash
## reads files on list
while read line
do
rm $line
done < $1
Code: Select all
#!/bin/bash
## reads files on list
while read line
do
rm $line
done < $1
Powered by phpBB® Forum Software © phpBB Limited