Topic "Backing up a filesystem from Linuix server to Windows exclude files from a text file"

Author Message
amjadcsu

Guest


Hello,
We have a remote linux server and we have to backup a big filesystem to Windows Machines with SAN connected.
We would like to exclude files from the filesystem that are listed in a txt file.
The number of files is around 22,000.
Please let me know what is the best way forward.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
Start from this PowerShell example that shows how to recursively process directory tree:
https://winscp.net/eng/docs/library_example_recursive_download_custom_error_handling
While iterating the files, match them against your exclusion list.
Advertisements

You can post new topics in this forum

Search

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