Moving Only Sub-Directories?

Lee Maschmeyer lee_maschmeyer at wayne.edu
Wed May 5 12:45:01 UTC 2010


Untested, but how about something like (correct it first!):

for i in *;do
    if [ -d $i ];then
        mv $i wherever
fi and done as needed
 
-- 
Lee Maschmeyer
Wayne State University Computing Center
5925 Woodward, #281
Detroit MI 48202
USA




More information about the Blinux-list mailing list