Skip to content

Instantly share code, notes, and snippets.

@crazyhottommy
Created August 14, 2014 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crazyhottommy/e8984722bf6a13191030 to your computer and use it in GitHub Desktop.
Save crazyhottommy/e8984722bf6a13191030 to your computer and use it in GitHub Desktop.
make_dummy_files
!# /usr/bin/bash
while read name
do
echo "Name read from file - $name"
touch $name
done < $1
while read name
do
echo "Name read from file - $name"
touch $name
done < files.txt
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