Hacker News new | ask | show | jobs
by Joker_vD 837 days ago
Eh, there is nothing particularly wrong with

    #!/bin/sh -e
    TARGET=../$(basename "$(pwd)")@$(date --utc +'%Y-%m-%dT%H:%M:%SZ').tar.gz
    tar czf "$TARGET" .
You can even add a fourth line to upload it somewhere automatically...