rclone/rclone

add ability to signal rclone to finish current partial task and exit

Open

#966 opened on Dec 20, 2016

View on GitHub
 (9 comments) (28 reactions) (0 assignees)Go (57,185 stars) (5,090 forks)batch import
API / Remote Control / RCOS: Unixenhancementfsnotify / eventshelp wantedintegration

Description

It'd be convenient to be able to signal rclone (perhaps via a SIGUSR1 or SIGUSR2?) to finish up working on the current transfers and then exit so uploads aren't left in a half state. Or perhaps SIGINT? One ctrl-c on the terminal or from external source could tell it to finish up and exit while a second SIGINT would instruct it to exit immediately.

Contributor guide