开发者

Python's Fabric to use rsync locally, is it possible?

开发者 https://www.devze.com 2023-03-16 17:58 出处:网络
Currently Fabric\'s \'rsync_projecct\' requires a user and a host parameter to be specified.I\'having a lot of issues copyinguser@127.0.0.1 because it is still asking me for the password for rsync.I\'

Currently Fabric's 'rsync_projecct' requires a user and a host parameter to be specified. I'having a lot of issues copying user@127.0.0.1 because it is still asking me for the password for rsync. I've spent hours on this and am wo开发者_StackOverflowndering if there is just a way to use the rsync [src] [dest] without having to specify a [user] and [host]? Or do you guys recommend something better?

The reason I like rsync over anything else is because I already have the rsync files/folders/excludes setup for that specific command.

Then again, I could just write my own rsync command right?

Thanks.


you can just local() out and use rsync any way you want to.

0

精彩评论

暂无评论...
验证码 换一张
取 消