NAME
syncToCdn - WebGUI interface to a Content Delivery Network.
SYNOPSIS
syncToCdn.pl --configFile config.conf
[--override]
[--migrate]
[--quiet]
syncToCdn.pl --help
DESCRIPTION
This WebGUI utility script displays the amount of disk space used by an
asset and it’s descendants. It has been modeled after the *nix ’du’
utility.
--configFile config.conf
The WebGUI config file to use. Only the file name needs to be
specified, since it will be looked up inside WebGUI’s configuration
directory. This parameter is required.
--override
This utility is designed to be run as a privileged user on Linux
style systems. If you wish to run this utility without being the
super user, then use this flag, but note that it may not work as
intended.
--migrate
Migrate entirety of uploads directory to CDN. Ignore the CDN queue
and sync everything.
--quiet
Disable output unless there is an error.
--help
Shows this documentation, then exits.
EXIT CODES
The following exit values are returned:
0 Successful execution.
1 Only super user may run the script.
2 Help requested.
3 Only one instance of this script can run at a time.
4 Error during invocation of the command.
5 Content Delivery Network (CDN) is not enabled.
AUTHOR
Copyright 2001-2009 Plain Black Corporation.