The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

mirror_sync -- sync a share to local disk

SYNOPSIS

mirror_sync [options]

 Options:
   --select XXX         select this path only
   --resume XXX         resume a sync run at this point
   --config XXX         alternate config file.
   --delete             delete local files not on the share
   --ident              show identification
   --help               brief help message
   --man                full documentation
   --verbose            verbose information
   --quiet              suppress informational messages

OPTIONS

--select path

When processing a hierarchy of folders, only process the named folder.

The folder name should be a relative file name, starting at the top level of the share. Shell wildcards * and ? are allowed, as are simple classes like [A-L]. Path matching is case idenpendent.

--resume path

When processing a hierarchy of folders, start at the named folder.

The folder name should be a relative file name, starting at the top level of the share. Shell wildcards * and ? are allowed, as are simple classes like [A-L]. Path matching is case idenpendent.

--config file

Alternate config file.

Default config file is $HOME/.config/sugarsync/config .

This should contain the username and password for Sugarsync.

--delete

Delete local files and folders that are not on the share.

--help

Print a brief help message and exits.

--man

Prints the manual page and exits.

--ident

Prints program identification.

--verbose

More verbose information. Repeat for even more information.

--quiet

Suppress informational messages.

DESCRIPTION

mirror_share will connect to the SugarSync cloud service and copy all files of the received shared folders to local disk.

If a local file already exists, the size and modification date is checked. If they match, the file is assumed to be up to date. On mismatch, the file is overwritten with a new downloaded copy.

CONFIG FILE

A config file is required to store the username and password for SugarSync access.

By default, the config file is .config/sugarsync/config in the users home directory. An alternative config file can be selected with the --config command line option.

The config file should contain:

  [auth]
  username = your_sugarsync_user_name
  password = your_sugarsync_password

  [api]
  accesskeyid      = your_access_key_id
  privateaccesskey = your_private_access_key
  application      = your_application_id

SugarSync::API.

AUTHOR

Johan Vromans, <jv at cpan.org>

BUGS & SUPPORT

See SugarSync::API.

COPYRIGHT & LICENSE

Copyright 2011,2016 Johan Vromans, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

1 POD Error

The following errors were encountered while parsing the POD:

Around line 495:

Unknown directive: =SEE