Skip to content

Instantly share code, notes, and snippets.

Created May 31, 2019

What would you like to do?
bash: loop command from list
ls -1 | grep 16599 > 16599.txt
while read p; do
# echo "cp /net/localhost/biltegia/utils/ftp_server/users/igoerak/ingested/$p /net/localhost/biltegia/web-server/photos/iban"
cp /net/localhost/biltegia/utils/ftp_server/users/igoerak/ingested/$p /net/localhost/biltegia/web-server/photos/iban
done < 16599.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.