Skip to content

Instantly share code, notes, and snippets.

@ZiTAL ZiTAL/1_get_list.sh
Created May 31, 2019

Embed
What would you like to do?
bash: loop command from list
#!/bin/bash
ls -1 | grep 16599 > 16599.txt
#!/bin/bash
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.