Created
August 14, 2014 14:23
-
-
Save crazyhottommy/e8984722bf6a13191030 to your computer and use it in GitHub Desktop.
make_dummy_files
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
!# /usr/bin/bash | |
while read name | |
do | |
echo "Name read from file - $name" | |
touch $name | |
done < $1 |
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
while read name | |
do | |
echo "Name read from file - $name" | |
touch $name | |
done < files.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
for i in 1 2 3 4 | |
do | |
for j in 1 2 | |
do | |
for k in 1 2 | |
do | |
touch $i\_egg\_r$j\_0$k\_sub.fastq.gz | |
done | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment