Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/4Suite/Demos/FileSystemMirror/ drwxr-xr-x |
Viewing file: Select action/file-type: FileSystemMirror ================ A very simple demo app that will mirror all or parts of your 4Suite repository to the file system and vice-versa. It has a very limited feature set, currently. Usage ----- Just run the script with the following command line parameters: python FileSystemMirror.py <localpath> <ftsspath> --read=<readAcl> --write=<writeAcl> localPath is a path to a directory on the local file system. This directory and its contents will be mirrored in the repository. ftsspath is a path to a container in the repository. This container and its contents will be mirrored in the filesystem. readAcl is the read ACL ident for any new resources created in the system. If not supplied, WORLD access is used. writeAcl is the write ACL ident for any new resource created in the system. If not supplied, WORLD access is used. Example: python FileSystemMirror.py /tmp/data /localhost/data Every time the script is run, /tmp/data on the local filesystem will be mirrored to the repository. TODO ---- * Make it a server once 4SS server extensions are cleaner * Add mapping of 4SS users to file system users * Add mapping of permissions * Add mapping of file types to MIME types * Improve discrepancy resolution (e.g., delete files) * Add support for aliases |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0032 ]-- |