Skip to content

Instantly share code, notes, and snippets.

@MaxCloud83
Last active August 29, 2015 14:01
Show Gist options
  • Select an option

  • Save MaxCloud83/a771a97db03b9731ebfd to your computer and use it in GitHub Desktop.

Select an option

Save MaxCloud83/a771a97db03b9731ebfd to your computer and use it in GitHub Desktop.
files delete batch
#!/bin/sh
DIR=$(dirname "$0")
FILE=files.txt
for f in `cat $DIR/$FILE`; do
echo $DIR/$f;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment