Skip to content
fdecuntaPublic

About

Simple manuscript archive organized by date

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

msar

Archives files into a date-based directory tree.

archive/
└── 2026/
    └── 10/
        └── 14/
            └── ms_v2.docx

Usage

msar: [-a FILE] [-l]
  -a  archive FILE
  -l  list archived files

Setup

Install with:

doas make install

msar expects a directory named archive in the current working directory. Create it once:

mkdir archive

Examples

# Archive a file (copied to archive/YYYY/MM/DD/ using today's date)
./msar.sh -a foo_etal_v4.pdf

# List everything in the archive, useful for pipes
./msar.sh -l

Notes

  • Files are copied, not moved; the original is left in place.
  • If a file with the same name already exists for that day, you are asked before it is overwritten.
  • Only regular files can be archived, not directories.

About

Simple manuscript archive organized by date

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages