Synchronize only specific subfolder local-remote
Hello I'm tryin' to sync my local files to my server, I got this script from internet.
I want only the folders
@echo off setlocal REM Set your local and remote directories set LOCAL_DIR=G:\SteamLibrary\steamapps\common\Half-Life\cstrike\addons\amxmodx set REMOTE_DIR=/cstrike/addons/amxmodx REM Run WinSCP script "C:\Program Files (x86)\WinSCP\WinSCP.com" /command ^ "open sftp:/edited/" ^ "synchronize remote %LOCAL_DIR% %REMOTE_DIR% -filemask=""|*;configs/*;plugins/*;data/lang/*;""" ^ "exit" endlocal
configs/*;plugins/*;data/lang/*
and all the files inside I want to be moved from my computer to server. But it gets everything and the inside files no.