picasawebsync icon indicating copy to clipboard operation
picasawebsync copied to clipboard

--skip server & DELETE REMOTE issue

Open kaczy44 opened this issue 8 years ago • 6 comments

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 ?

kaczy44 avatar Jan 23 '17 07:01 kaczy44

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?

leocrawford avatar Jan 28 '17 15:01 leocrawford

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)

kaczy44 avatar Jan 28 '17 16:01 kaczy44

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 .

leocrawford avatar Jan 28 '17 16:01 leocrawford

I've checked and you definitely need to use *.extension. I'll close for now. re-open if that still doesn't work.

leocrawford avatar Jan 30 '17 20:01 leocrawford

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 ?

kaczy44 avatar Jan 30 '17 21:01 kaczy44

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?

leocrawford avatar Jan 30 '17 21:01 leocrawford