Page 1 of 1

Python action script for Rsync

PostPosted: Thu Mar 26, 2020 11:32 am
by Radjin
I am trying to run the following:

rsync -aP --exclude={"./Trashes"} /Volumes/Media\ Drive/Music /Volumes/NAS1_Media_Server/Backup/Media/Music

How would I do that in the actions using python?

Are there plugins that might do this?

Thanks

Radjin~

Re: Python action script for Rsync

PostPosted: Thu Mar 26, 2020 12:53 pm
by jay (support)
I don't use rsync, but I wonder if this module would be of any use.

You can probably also just use os.system...