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

Author Message


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.
[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:
While iterating the files, match them against your exclusion list.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License