SyntaxFix
Write A Post
Hire A Developer
Questions
you can use tar, with --exclude option , and then untar it in destination. eg
cd /source_directory tar cvf test.tar --exclude=dir_to_exclude * mv test.tar /destination cd /destination tar xvf test.tar
see the man page of tar for more info