Can certain files be excluded from copying?: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
'''A:''' Yes, there are two lines in the copy dialog, one for the target directory and a name change, and a second line for the files to be copied. Here you can not only specify file types to be copied (e.g. *.doc *.xls), but also those which should not be copied, e.g. *.* | *.bak *.old
'''A:''' Yes, there are two lines in the copy dialog, one for the target directory and a name change, and a second line for the files to be copied. Here you can not only specify file types to be copied (e.g. *.doc *.xls), but also those which should not be copied, e.g. *.* | *.bak *.old
File types behind the vertical line will then not be copied. The line (pipe symbol) is used because it's not allowed in normal file names.
File types behind the vertical line will then not be copied. The line (pipe symbol) is used because it's not allowed in normal file names.
You may also exclude folders, very handy, when you are working on folders under source code control. E.g. to exclude the CVS (Concurrent Version System) and SVN (Subversion) meta data folders enter '*.* | CVS\ .svn\' as the filter. Note the backslash after the folder names. Especially useful, when synchronizing folder trees recursively.


<BR>-------<BR>Back to [[FAQ File operations|File operations]]<BR>
<BR>-------<BR>Back to [[FAQ File operations|File operations]]<BR>

Latest revision as of 15:56, 26 January 2007

A: Yes, there are two lines in the copy dialog, one for the target directory and a name change, and a second line for the files to be copied. Here you can not only specify file types to be copied (e.g. *.doc *.xls), but also those which should not be copied, e.g. *.* | *.bak *.old File types behind the vertical line will then not be copied. The line (pipe symbol) is used because it's not allowed in normal file names.

You may also exclude folders, very handy, when you are working on folders under source code control. E.g. to exclude the CVS (Concurrent Version System) and SVN (Subversion) meta data folders enter '*.* | CVS\ .svn\' as the filter. Note the backslash after the folder names. Especially useful, when synchronizing folder trees recursively.


-------
Back to File operations