Re:Python Port of 600 Line Bash Script: rsync-time-machine.p...
by basnijholt on Sunday May 14, 2023 @12:09AM
(#35935246)
I attempted doing this initially. Everything is very doable except SSH. One would have to rely on third-party libraries to do this well.
[ Parent
| on HN ]
Re:Python Port of 600 Line Bash Script: rsync-time-machine.p...
by sgarland on Sunday May 14, 2023 @10:15AM
(#35938169)
Are you open to a single dependency [0]? Entirely native tooling is an admirable thing that I greatly appreciate, but parsing subprocess output is fraught with issues (I know, I've done this as well).
Re:Python Port of 600 Line Bash Script: rsync-time-machine.p...
by memco on Sunday May 14, 2023 @10:35PM
(#35943288)
I’ve used paramiko for this also: https://www.paramiko.org/.