Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore images, zip etc on Download #245

Open
Luc45 opened this issue Dec 13, 2016 · 1 comment
Open

Ignore images, zip etc on Download #245

Luc45 opened this issue Dec 13, 2016 · 1 comment
Labels

Comments

@Luc45
Copy link

Luc45 commented Dec 13, 2016

I want to keep my local and FTP files synchronized, but only the important files, such as .php etc

I created an "ignore" list that includes all binaries, it might be useful to someone:

{
	"ignore": "ftpsync\\.settings|\\.gitignore|\\.git|Sublime Text 2/Packages|\\.raw|\\.exe|\\.mpi|\\.pdf|\\.psd|\\.ai|\\.doc|\\.xls|\\.docx|\\.xlsx|\\.7z|\\.zip|\\.rar|\\.tar|\\.gz|\\.gzip|\\.ace|\\.bmp|\\.jpg|\\.jpeg|\\.ico|\\.png|\\.gif|\\.tiff|\\.pic|\\.tga|\\.wmv|\\.avi|\\.mkv|\\.mp4|\\.mpg|\\.mpeg|\\.wav|\\.mp3|\\.ac3|\\.flac|\\.3gp",
}

Just paste it to Preferences -> Package Settings -> FTPSync -> Settings - User

Now I can sync my site 100x faster than before, literally

@Luc45
Copy link
Author

Luc45 commented Dec 13, 2016

Use this to also ignore wp-admin and wp-includes folder, if you work on Wordpress:

{
	"ignore": "ftpsync\\.settings|\\.gitignore|\\.git|Sublime Text 2/Packages|\\\\wp-admin\\\\|\\\\wp-includes\\\\|\\.raw|\\.exe|\\.mpi|\\.pdf|\\.psd|\\.ai|\\.doc|\\.xls|\\.docx|\\.xlsx|\\.7z|\\.zip|\\.rar|\\.tar|\\.gz|\\.gzip|\\.ace|\\.bmp|\\.jpg|\\.jpeg|\\.ico|\\.png|\\.gif|\\.tiff|\\.pic|\\.tga|\\.wmv|\\.avi|\\.mkv|\\.mp4|\\.mpg|\\.mpeg|\\.wav|\\.mp3|\\.ac3|\\.flac|\\.3gp",
}

@NoxArt NoxArt added the tips label Dec 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants