Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyclone-github/date_directory_creator
CLI program to create directories by year / month / day
https://github.com/cyclone-github/date_directory_creator
creater cyclone date day directory golang linux mac month windows year
Last synced: about 2 months ago
JSON representation
CLI program to create directories by year / month / day
- Host: GitHub
- URL: https://github.com/cyclone-github/date_directory_creator
- Owner: cyclone-github
- License: gpl-2.0
- Created: 2023-01-05T22:28:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-30T18:17:09.000Z (8 months ago)
- Last Synced: 2024-06-21T04:54:10.669Z (6 months ago)
- Topics: creater, cyclone, date, day, directory, golang, linux, mac, month, windows, year
- Language: Go
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=cyclone-github&repo=date_directory_creator&theme=gruvbox)](https://github.com/cyclone-github/)
# Cyclone's Date Directory Creator
### CLI program to create directories by year / month / day- version: 0.3.1
- build date: 2023-01-05-1600
- written by: cyclone### Usage Examples:
- (create directories for all days of 2025)date_directory_creator.bin -year 2025
- (create directories for all days of 2020-2030)
date_directory_creator.bin -year 2020-2030
- (create directories for all sunday's of 2025)
date_directory_creator.bin -year 2025 -day sunday
- (create directories for monday-friday of 2020-2030)
date_directory_creator.bin -year 2020-2030 -day monday-friday
- Program will check for and not overwrite existing directories, but use with caution.
### Compile from source:
- If you want the latest features, compiling from source is the best option since the release version may run several revisions behind the source code.
- This assumes you have Go and Git installed
- `git clone https://github.com/cyclone-github/date_directory_creator.git`
- `cd date_directory_creator`
- `go mod init date_directory_creator`
- `go mod tidy`
- `go build -ldflags="-s -w" .`
- Compile from source code how-to:
- https://github.com/cyclone-github/scripts/blob/main/intro_to_go.txt