diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2018-04-11 13:26:21 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2018-04-11 13:26:54 +0300 |
commit | 2f104239a369f9534d47fa7038f0382bde34ffe6 (patch) | |
tree | ada39074e1aacd9ad8e7817f3b890c34541595f5 /%HOME% | |
parent | mysql.sh: support $MYSQL_DATABASE (diff) | |
download | linux-home-2f104239a369f9534d47fa7038f0382bde34ffe6.tar.gz linux-home-2f104239a369f9534d47fa7038f0382bde34ffe6.zip |
.bashrc: add date aliases
Diffstat (limited to '%HOME%')
-rw-r--r-- | %HOME%/.bashrc | 3 |
1 files changed, 3 insertions, 0 deletions
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. |