Topic "Transferring single file type from multiple subdirectories"

Author Message
ivioonsail

Guest


Is it possible to upload all files with a specific extension up from a variety of subdirectories but not the rest?
e.g. you have a directory, say C:\dir\ with sub-directories of \subdir1, \subdir2, \subdir3. Each of the subdirectories has a variety of file types in it, but you want to use a batch file to only send up the .PNG files from all of the directories?

For the final implementation of this I want to create a batch script to send up the PNG files first, followed by an XML file. Transfer order is important, and the names of the sub-directories the files are in will change.

Thanks in advance,
Moonsail
ivioonsail
[View user's profile]

Joined: 2006-02-14
Posts: 2
Alternately, could I do a hack of changing the exclude file type from the command-line? Not finding any documentation about changing the exclusions list from the command-line, so it might not be possible.
ivioonsail
[View user's profile]

Joined: 2006-02-14
Posts: 2
Found what I was looking for in the documentation. What I wanted was to use include masks.

Thanks!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License