Copy Folder Structure Without Files?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
MrMcGoo
Junior Member
Junior Member
Posts: 32
Joined: 2006-08-29, 01:44 UTC

Copy Folder Structure Without Files?

Post by *MrMcGoo »

Is there a way to do this?

Thanks!
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Select top level folder, press F5, then in copy dialog enter some 'bla-bla-bla'-like filter (e.g. ek5j645gvu6kl45j6 :D) into a field 'only files of this type' and click OK. :)

In result, TC will copy folder structure w/o files if you enter filter that doesn't match any filename. :)
MrMcGoo
Junior Member
Junior Member
Posts: 32
Joined: 2006-08-29, 01:44 UTC

Post by *MrMcGoo »

Great idea! Thanks!!
User avatar
nsp
Power Member
Power Member
Posts: 1915
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Post by *nsp »

MVV wrote:..some 'bla-bla-bla'-like filter (e.g. ek5j645gvu6kl45j6 :D) into a field 'only files of this type' and click OK. :)
The complete exclusion filter i use in general is

Code: Select all

|*.*
MVV wrote:In result, TC will copy folder structure w/o files if you enter filter that doesn't match any filename. :)
Except if some ek5j645gvu6kl45j6 exists. ;)
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

BTW single dot character is a nice and short filter in this case (checked just now) :) just because it is impossible to have files w/o both name and extension. 8-)

Code: Select all

.
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

MVV,
Well, "." usually refers to the current dir.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
RonH
Junior Member
Junior Member
Posts: 31
Joined: 2003-03-11, 01:00 UTC

Post by *RonH »

Hmmm. One day I entered <dir> in the 'only files of this type' field and it worked great - now I know why :oops:
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Hacker wrote:Well, "." usually refers to the current dir.
Yes but no one file can have such name. :)
Post Reply