Skip to content

Instantly share code, notes, and snippets.

@iambibhas
Created May 13, 2013 15:46
Show Gist options
  • Save iambibhas/5569302 to your computer and use it in GitHub Desktop.
Save iambibhas/5569302 to your computer and use it in GitHub Desktop.
Copy only listed files to somewhere
FILENAME=$1
while read LINE
do
cp "$LINE" ./destination-folder/
done < $FILENAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment