picasawebsync
picasawebsync copied to clipboard
--skip server & DELETE REMOTE issue
Hi, I excluded by '--skip-server' all videos on server side (.mp4,.mov,*.3gp), but when I delete some video file on local and do sync with '--allowDelete remote' they were deleted also on server, so it seems --skip-server ignores my request. How can I exclude video files form deletion at remote side ?
Just to check, you are using --skipserver rather than --skip-server aren't you?
You should get a line printed along the lines of Excluding ... on client and ... on server. What exactly does it print for you?
This is exact command line that I execute: picasawebsync.py -v -d D:\DCIM\ -m syncUpload --allowDelete remote -f both --skipserver ".mp4" ".mov" ".3gp" -s ".mp4" ".mov" ".3gp"
I have first line like this: Excluding ..mp4\Z(?ms)|..mov\Z(?ms)|..3gp\Z(?ms) on client and ..mp4\Z(?ms)|..mov\Z(?ms)|..3gp\Z(?ms) on server
I'm on Windows 10 (python 2.7.13)
From memory they are glob expressions, so try *.mp4 etc
On Sat, 28 Jan 2017, 16:21 kaczy44, [email protected] wrote:
This is exact command line that I execute: picasawebsync.py -v -d D:\DCIM\ -m syncUpload --allowDelete remote -f both --skipserver ".mp4" ".mov" ".3gp" -s ".mp4" ".mov" ".3gp"
I have first line like this: Excluding ..mp4\Z(?ms)|..mov\Z(?ms)|..3gp\Z(?ms) on client and . .mp4\Z(?ms)|..mov\Z(?ms)|..3gp\Z(?ms) on server
I'm on Windows 10 (python 2.7.13)
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/leocrawford/picasawebsync/issues/49#issuecomment-275857445, or mute the thread https://github.com/notifications/unsubscribe-auth/AA32SP7iLSHYnbb_f-qKErUOz0q62nP7ks5rW2rZgaJpZM4LqwJY .
I've checked and you definitely need to use *.extension. I'll close for now. re-open if that still doesn't work.
I used it like this, but no effect:
picasawebsync.py -v -d D:\DCIM\ -m syncUpload --allowDelete remote -f both --skipserver "*.mp4" "*.mov" "*.3gp" -s "*.mp4" "*.mov" "*.3gp"
Could you please test it at your side ?
a) Are you remembering they are case sensitive? (this is possibly a problem if you are running WIndows?) b) Do you need the quotes around each? c) What "Excluding" line is now produced?