I'm searching for a way to not transfer
.DS_Store files when launching FTP or SCP transfers for a directory.
Is it possible to block
.DS_Store files from being transferred along with the other files I'm moving?
I'm actually using FileZilla app
Under Filezilla client, you can configure it to block some file extensions.
In View >> Filename filters... you have to create a new filter. Go to Edit filter rules... and New. Look the existing filter called "Useless Explorer files" to adapt to Mac OSx files like .DS_Store
If you use Cyberduck as a client, it will automatically skip those files (and several others) during transmission.
This applies to both FTP and SFTP connections.
If you're going command-line, you should use