[Linux] How to move only files except directories

728x90

find $SRC/* -maxdepth 0 -type f -exec mv {} $DEST \;


반응형

Designed by JB FACTORY