Tar, gzip and date in file name =============================== I often save directories in *.tar.gz files. For some purposes I add the current date to the file name: tar czvf mydir-`date +%Y-%m-%d` mydir It's easy but I always have to type the whole command. Moreover, directory name have to be typed twice. I have been doing this for years and on all my *nix machines. For some reasons, only today I found this to be too annoying. So I have wrote a short bash script (it might work elsewhere but at the moment I only tried it with the bash) [1],[2]. References: [1] gopher://sdf.org/1/users/jirka/zalohovat [2] http://jirka.sdf.org/zalohovat