Thursday 22 October 2009

find files non-recursively and move them

find the files in the OUTDIR where there are some more dirs inside that and move those files in the $NEWDIR/done/


find $OUTDIR -maxdepth 1 -type f -exec mv {} $OUTDIR/dpdone \;

No comments:

Post a Comment

Tweets by @sriramperumalla