dayfolders

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2017 License: GPL-3.0 Imports: 10 Imported by: 0

README

dayfolders

It's a command line tool that creates daily folders to store files in a selectable period of time.

Examples:

  • dayfolders -year=2017
    It crates a default folders tree:
.
├── 2017
│   ├── 01
...
│   ├── 02
│   │   ├── 01
│   │   ├── 02
...
│   │   └── 31
...
│   ├── 12
│   │   ├── 01
...
  • dayfolders -year=2017 -one -dow
    It crates folders as follow:
2017-01-01 (Sun)  
2017-01-02 (Mon)  
...  
2017-12-31 (Sun)  
  • dayfolders -from=2017-02-01 -to=2017-02-14 -one
    It crates folders as follow:
2017-02-01  
...  
2017-02-14  

you can run dayfolders -from=2017-02-01 -days=14 -one to get the same.

  • dayfolders -to=2017-03-31 -days=10 -one -doy
    It crates 10 folders adding day of the year as follow:
2017-03-22 081
...
2017-03-31 090

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL