Skip to main content

No project description provided

Project description

Aqueduc

Aqueduc is a small script used to move or copy files and folders using preconfigured parameters.
It is usefull to automate recurring file transfers.

Requirement

  • Python 3 (tested with python 3.7.2)

How to get

git clone https://github.com/Mozenn/Aqueduc.git

How to use

  1. create a JSON configuration file following Configuration-file or by checking the example files in data/ folder

  2. From the directory where the script file is located, run :

python aqueduc.py RelativePath/To/ConfigFile

Tips

Configuration file

Configurations files are in JSON format following this structure:

  • target (str): Path of the destination folder where source items will be moved to
  • sources (array)
    • path (str): Path of the file or folder to move
    • options
      • overwrite (boolean): true to overwrite the file in target destination if it already exists
      • removeExisting (boolean): true to remove the file in target destination if it already exists
      • move (boolean): true to move, false to copy
      • size_limit (number): size limit in bytes. Files having a size above this limit will not be moved/copied to target
      • forbidden_extensions(array): file having one of the specified extension will not be moved/copied to target
      • last_date_allowed (str): file not modified since the specified date will not be moved/copied to target

Other

  • You can put the aqueduc.py file wherever you want and execute it from there, or add it to your PATH.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aqueduc-1.0.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aqueduc-1.0.4-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file aqueduc-1.0.4.tar.gz.

File metadata

  • Download URL: aqueduc-1.0.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for aqueduc-1.0.4.tar.gz
Algorithm Hash digest
SHA256 c789b1b94f9cc6d69a8323891c7eebeb7d390bc9e987bfc6b19fc1e34eacd1f2
MD5 6d7cae7b23c5e5b1381eff261c18d238
BLAKE2b-256 17fbf23be21e914e4d9049b2470eeae0e6764f10c85db09b059275e37e49d0a5

See more details on using hashes here.

File details

Details for the file aqueduc-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: aqueduc-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for aqueduc-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a5a8f960c88781700e638d9f3a2addfe8d9ecc5c881141f2fcf08ad64f3c9ab7
MD5 3dfd8aa72fdc4f60b3d48f696057fdef
BLAKE2b-256 bd13b836b1305e4bbc81d467f2031b922e3d3b83757778f5abd2f2a7b54b722f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page