Hi,
I'm trying to copy a directory with many subdirectories and hidden directories. It's a subversion directory structure.
So I selected the root diretory, in the advanced copy option I deselected the Hidden attribute and started copying.
But as result I get anyway the whole struture, including the hidden diretories.
Is this behavior how it should be?
If yes, how I can copy the files without the hidden dirs?
Thanks
Eric
How to avoid copying hidden directories?
How to avoid copying hidden directories?
Win2012, Win7, Win8 and Win8.1 x64 (german and english) | AS 3.0 beta 4 (x64)
-
- ALTAP Staff
- Posts: 5231
- Joined: 08 Dec 2005, 06:34
- Location: Novy Bor, Czech Republic
- Contact:
Re: How to avoid copying hidden directories?
Eric, this filter doesn't apply to directories. The workaround: copy whole directory structure (including hidden directories). Use Find command to find Hidden directories. Select all found directories and delete them.
Re: How to avoid copying hidden directories?
Jan, thanks for answering.
This was my solution too, but it's time intense when you about 3'000 small subdirectories.
Wouldn't be nice to have a such option?
This was my solution too, but it's time intense when you about 3'000 small subdirectories.
Wouldn't be nice to have a such option?

Win2012, Win7, Win8 and Win8.1 x64 (german and english) | AS 3.0 beta 4 (x64)
Re: How to avoid copying hidden directories?
Maybe you should use the Export command instead of copying out of a working copy.
Ελληνικά rulez.
Re: How to avoid copying hidden directories?
Ether, thanks. It didn't came to my mind.Ether wrote:Maybe you should use the Export command instead of copying out of a working copy.

Win2012, Win7, Win8 and Win8.1 x64 (german and english) | AS 3.0 beta 4 (x64)
Re: How to avoid copying hidden directories?
Why?this filter doesn't apply to directories
(Simple question, not really looking for an answer, perhaps an RFE.
Also noticed <just before this thread was started> that this also occurs with directories when Panel Filtering, Ctrl+F12.)
WinXP Pro SP3 or Win7 x86 | SS 2.54
Re: How to avoid copying hidden directories?
Because the behavior of filtering upon directories is not clearly defined ( = universally understood and recognized), especially if acting as a panel view filter. The main problem is that people expect that they'll see all the files that match the filtering mask, but if some directories are hidden due to it, then there can be any number of possibly wanted files inside those directories.therube wrote:Why?
One of the possible solutions is to implement two filters - one for files and one for directories. A much better solution is some kind of universal regexp filtering of (not only filename, but) the file's full path with the possibility of cascading multiple filters, such as:
- |\\\.svn\\ (first exlude everything inside .svn)
- .*(then include all; implicit)
Ελληνικά rulez.
Re: How to avoid copying hidden directories?
It's not very neat, but you can use xcopy for this purpose. Add a usermenu entry with command xcopy.exe and parameter /s /i /y "$(Name)" "$(FullPathInactive)\$(Name)".
BTW: A regular filter expression may fit all needs, but a simple option "exclude hidden subdirectories" in copy / move dialogs would cover most cases and is more intuitive. I would prefer such an option.
BTW: A regular filter expression may fit all needs, but a simple option "exclude hidden subdirectories" in copy / move dialogs would cover most cases and is more intuitive. I would prefer such an option.