Last active
December 18, 2015 21:49
-
-
Save atondwal/5850409 to your computer and use it in GitHub Desktop.
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 `ls`; do mkdir `basename $i .baseline.dat`; done; | |
for i in `ls`; do mv $i `basename $i .baseline.dat`; done; | |
for i in {1992..2011}; do grep '^'$i *.dat > $i; done; #years.sh | |
for i in `ls`; do cd $i; ~/years.sh; cd ..; done; | |
for i in {1992..2011}; do mkdir -p IRIyears/$i; noglob zmv -W -C IRIsynthdb/*/$i IRIyears/$i/*; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment