Created
May 31, 2019 10:11
-
-
Save ZiTAL/5d46021654dac3721eb6ce410afa6fdd to your computer and use it in GitHub Desktop.
bash: loop command from list
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ls -1 | grep 16599 > 16599.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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