Dear all,
I have a directories that look like this
fool@brat:/mydir/ucsc_mm8> tar -xvf *.tar
1/chr1.fa.masked
1/chr1_random.fa.masked
2/chr2.fa.masked
3/chr3.fa.masked
4/chr4.fa.masked
5/chr5.fa.masked
5/chr5_random.fa.masked
19/chr19.fa.masked
Un/chrUn_random.fa.masked
What I want to do is to move out all the "*.masked" files in the subdirectories /1
upto /Un
.
Is there a compact way to do it in Linux/Unix?