{"id":19030046,"url":"https://github.com/padosoft/zip-files","last_synced_at":"2026-04-16T11:01:20.985Z","repository":{"id":95269124,"uuid":"67226303","full_name":"padosoft/zip-files","owner":"padosoft","description":"Bash command to Zip files in dir or sub dir with pattern full o incremental with retantion days to clean up dir.","archived":false,"fork":false,"pushed_at":"2016-09-02T14:58:22.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T03:44:22.949Z","etag":null,"topics":["bash","retantion-days","zip"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/padosoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-02T13:49:08.000Z","updated_at":"2016-09-02T14:07:27.000Z","dependencies_parsed_at":"2023-03-03T23:30:40.972Z","dependency_job_id":null,"html_url":"https://github.com/padosoft/zip-files","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fzip-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fzip-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fzip-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padosoft%2Fzip-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padosoft","download_url":"https://codeload.github.com/padosoft/zip-files/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079638,"owners_count":19744725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","retantion-days","zip"],"created_at":"2024-11-08T21:16:18.790Z","updated_at":"2025-10-30T02:46:15.034Z","avatar_url":"https://github.com/padosoft.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# zip-files\nBash command to Zip files in dir or sub dir with pattern full o incremental with retantion days to clean up dir. \n\n[![Software License][ico-license]](LICENSE.md)\n\nTable of Contents\n=================\n\n  * [zip-files](#zip-files)\n  * [Table of Contents](#table-of-contents)\n  * [Prerequisites](#prerequisites)\n  * [Install](#install)\n  * [Usage](#usage)\n  * [Example](#example)\n  * [Contributing](#contributing)\n  * [Credits](#credits)\n  * [About Padosoft](#about-padosoft)\n  * [License](#license)\n\n# Prerequisites\n\nbash\n\n# Install\n\nThis package can be installed easy.\n\n``` bash\ncd /root/myscript\ngit clone https://github.com/padosoft/zip-files.git\ncd zip-files\nchmod +x zipfiles.sh\n```\n\nIf you want to run programmatically, add it to cronjobs manually or execute install script:\n\n``` bash\ncd /root/myscript/zipfiles\nchmod +x install.sh\nbash install.sh\n```\n\n\n# Usage\n``` bash\nbash zip-files.sh PATHTOZIP ZIPNAME ZIPNAMEPATH [MODE 0|1|2] [DAYCHANGES] [MAXRETENTIONDAYS]\n```\n\n## Example\n``` bash\nbash /root/myscript/zip-files/zipfiles.sh /my/dir/images/ images.zip /my/dir/archives/ \nbash /root/myscript/zip-files/zipfiles.sh /my/dir/images/ images.zip /my/dir/archives/ 0 1\nbash /root/myscript/zip-files/zipfiles.sh /my/dir/images/ images.zip /my/dir/archives/ 0 1 30\n```\nFor help:\n``` bash\nbash zipfiles.sh\n```\n\n# Contributing\n\nPlease see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.\n\n\n# Credits\n\n- [Lorenzo Padovani](https://github.com/lopadova)\n- [Padosoft](https://github.com/padosoft)\n- [All Contributors](../../contributors)\n\n# About Padosoft\nPadosoft is a software house based in Florence, Italy. Specialized in E-commerce and web sites.\n\n# License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n\n[ico-license]: https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Fzip-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadosoft%2Fzip-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadosoft%2Fzip-files/lists"}