Answer by Crusty Chris for Copy sub-directory from 1 directory to another
the problem with the command cp -a /path/from /path/to is that it will do a recursive copy which means it will copy the source directory (in your case "/path/from") and everything beneath it.what you...
View ArticleAnswer by thg for Copy sub-directory from 1 directory to another
You can try this command:cp -a from/$(ls from | grep ^[0-9][0-9]) to/
View ArticleAnswer by reminy for Copy sub-directory from 1 directory to another
cp -a /path/from/* /path/towill copy the contents of /path/from, not the directoryif you have other files/dirs in /path/from, and only want tocopy the one, you'll have to come up with a pattern to...
View ArticleCopy sub-directory from 1 directory to another
I need to make a copy of the content of one directory to another.I need to copy only 1 sub-folder. For example; if I have a folder called "from" and want to copy one of it's sub-folders (with all the...
View Article
More Pages to Explore .....