Skip to main content

Move files from input to output folder and delete old files from output folder.

Project description

nextcloud_micos_export

Move files from input to output folder and delete old files from output folder.


Installation :pick:

apt install python3-venv -y
mkdir -p /opt/nextcloud-micos-export
python3 -m venv /opt/nextcloud-micos-export
source /opt/nextcloud-micos-export/bin/activate
pip install nextcloud-micos-export
ln /opt/nextcloud-micos-export/bin/nextcloud-micos-export /usr/bin/nextcloud-micos-export
deactivate
echo """[Unit]
Description=Move files from input to output folder and delete old files from output folder.
After=multi-user.target

[Service]
Type=simple
Restart=always
WorkingDirectory=/opt/nextcloud-micos-export
ExecStart=/opt/nextcloud-micos-export/bin/nextcloud-micos-export

[Install]
WantedBy=multi-user.target""" > /etc/systemd/system/nextcloud_micos_export.service
systemctl daemon-reload
systemctl enable nextcloud_micos_export.service
systemctl start nextcloud_micos_export.service

Update :hourglass_flowing_sand:

source /opt/nextcloud-micos-export/bin/activate
pip install -U nextcloud-micos-export
deactivate

Debug :gear:

systemctl stop nextcloud_micos_export.service
nextcloud-micos-export
systemctl start nextcloud_micos_export.service

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

nextcloud_micos_export-0.5.6.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

nextcloud_micos_export-0.5.6-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file nextcloud_micos_export-0.5.6.tar.gz.

File metadata

  • Download URL: nextcloud_micos_export-0.5.6.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for nextcloud_micos_export-0.5.6.tar.gz
Algorithm Hash digest
SHA256 67c29e7760d26d570e774e0a801e0f9bbcd485c5afa90350f8c610e89a2532ed
MD5 9207cb7b4d841f2d954e635a7eae5122
BLAKE2b-256 c3e79cff1e213cf1a21ec58e09b69d3026bb5c6351220f3b7500be504f50f176

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_micos_export-0.5.6.tar.gz:

Publisher: build_and_publish.yml on KDS-Erfurt/nextcloud-micos-export

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nextcloud_micos_export-0.5.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nextcloud_micos_export-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 58344739bd6cba4eefed6389775b8ad78292e6454d4457641e321dca0635275b
MD5 b1d730b513f409436054496c64e23181
BLAKE2b-256 71eef81f53ed8766b38e81f297369dfce9f558df3130c28d8f77540f027c8cb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_micos_export-0.5.6-py3-none-any.whl:

Publisher: build_and_publish.yml on KDS-Erfurt/nextcloud-micos-export

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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