unbreak-0.3.1: Secure and resilient remote file storage utility

LicenseAGPL-3
MaintainerKinoru
StabilityProvisional
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Unbreak.Run

Description

Functions that perform the action of the Unbreak utility.

Synopsis

Documentation

runInit :: IO () Source

Creates the ~/.unbreak.json file with the default configuration if it's missing.

runOpen :: ByteString -> IO () Source

Given a filename, try copying the file from the remote to a temporary shared memory space, open it with the text editor specified in the config file, and copy it back to the remote. Shell command scp must exist.

runAdd Source

Arguments

:: Bool

Force upload even when the file name already exists

-> RawFilePath 
-> IO () 

Pick a local file, encrypt it, and send to the remote storage.