From 2f104239a369f9534d47fa7038f0382bde34ffe6 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 11 Apr 2018 13:26:21 +0300 Subject: .bashrc: add date aliases --- %HOME%/.bashrc | 3 +++ 1 file changed, 3 insertions(+) (limited to '%HOME%') diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index 71f7172..0ce7b81 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -33,6 +33,9 @@ alias dir='ls --format=vertical' alias less='less --ignore-case --RAW-CONTROL-CHARS' alias tree='tree -a' +alias utc_file_name='date --utc +"%Y%m%d%H%M%S"' +alias utc_iso='date --utc +"%Y-%m-%dT%H:%M:%SZ"' + #alias sed='sed --follow-symlinks' # The alias above doesn't actually work with stdin in sed 4.2.2, it's a bug # fixed in sed 4.3. -- cgit v1.2.3