Timestamps

Get help for specific problems
Posts: 3
Joined: 17 Mar 2017

falcon1

Using debian version I want to put a date on the archive folder. The macro %timestamp% works fine but it gives me the whole time and date string.

When I only want year and month I would assume that %year%%month% should do it. I also tried $(date +%Y%m) but whatever string I have tried, it always gives me the whole date string. Is this a fault or is there a way of getting what I want but haven't found? The help (Versioning para 3.) tries to cover it but is rather vague.
User avatar
Site Admin
Posts: 7282
Joined: 9 Dec 2007

Zenju