Hey all,
I am looking for a quick script (shell, perl, anything) that will take all files in any subfolder and move it up 1 directory. Example...The layout of /home/blah/ is:
test1/
test2/
test3/
test4/
and there is a file in each of those directories, ie...
test1/test1.txt
test2/test2.txt
test3/test3.txt
test4/test4.txt
I want to move all the .txt files to /home/blah/.
Any Help??
Thanks!!
I am looking for a quick script (shell, perl, anything) that will take all files in any subfolder and move it up 1 directory. Example...The layout of /home/blah/ is:
test1/
test2/
test3/
test4/
and there is a file in each of those directories, ie...
test1/test1.txt
test2/test2.txt
test3/test3.txt
test4/test4.txt
I want to move all the .txt files to /home/blah/.
Any Help??
Thanks!!