Skip to content

Utility to sync files between local filesystem and S3

License

Notifications You must be signed in to change notification settings

markosski/cloudsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudSync Build Status

              ,,                           ,,
  .g8"""bgd `7MM                         `7MM   .M"""bgd
.dP'     `M   MM                           MM  ,MI    "Y
dM'       `   MM  ,pW"Wq.`7MM  `7MM   ,M""bMM  `MMb.  `7M'   `MF'`7MMpMMMb.  ,p6"bo
MM            MM 6W'   `Wb MM    MM ,AP    MM    `YMMNq.VA   ,V    MM    MM 6M'  OO
MM.           MM 8M     M8 MM    MM 8MI    MM  .     `MM VA ,V     MM    MM 8M
`Mb.     ,'   MM YA.   ,A9 MM    MM `Mb    MM  Mb     dM  VVV      MM    MM YM.    ,
  `"bmmmd'  .JMML.`Ybmd9'  `Mbod"YML.`Wbmd"MML.P"Ybmmd"   ,V     .JMML  JMML.YMbmd'
                                                         ,V
                                                      OOb"

Utility to sync files between local filesystem and AWS S3 and other cloud providers.

CloudSync can be configured to monitor multiple local directories listening to file changes. Change to a file will sync the file with its counterpart in the cloud storage. At the moment only AWS S3 storage is implemented. CloudSync can be easily extended to other cloud storage by implementing CloudClient interface.

CloudSync was tested on MacOS and should work fine on Linux as well, not sure about Windows.

How to use.

  1. Build the project with sbt assembly
  2. Provide configuration file to configure cloud client, see application-template.conf file in resources.
  3. Create a file with path maps similar to example below
/Users/marcin/Documents:/my-cloud-files/documents
/Users/marcin/Pictures:/my-cloud-files/pictures
  1. Run CloudSync with java -Dconfig.file=path/to/config -jar <path_to_jar> file:///path/to/clousSyncPathMappings.txt

About

Utility to sync files between local filesystem and S3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages