Sha256: 068fd7c149d11005defdd9b0d75299ba86e59368924df5828e4b8030e2f5493f
Contents?: true
Size: 726 Bytes
Versions: 72
Compression:
Stored size: 726 Bytes
Contents
## # Rackspace Cloud Files [Syncer] # sync_with Cloud::CloudFiles do |cf| cf.username = "my_username" cf.api_key = "my_api_key" cf.container = "my_container" cf.path = "/backups" cf.mirror = true cf.thread_count = 10 cf.directories do |directory| directory.add "/path/to/directory/to/sync" directory.add "/path/to/other/directory/to/sync" # Exclude files/folders from the sync. # The pattern may be a shell glob pattern (see `File.fnmatch`) or a Regexp. # All patterns will be applied when traversing each added directory. directory.exclude '**/*~' directory.exclude /\/tmp$/ end end
Version data entries
72 entries across 72 versions & 12 rubygems