From 9c32ba4a8ce64b7dafc53f788c78170a60a530a3 Mon Sep 17 00:00:00 2001 From: "Doncho N. Gunchev" Date: Sun, 28 Jan 2024 01:48:21 +0200 Subject: [PATCH] Add .gitignore and enhance LDATE. --- .gitignore | 31 +++++++++++++++++++++++++++++++ LDATE | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..319c529 --- /dev/null +++ b/.gitignore @@ -0,0 +1,31 @@ +### macOS template +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# Backups +*~ +*.bak diff --git a/LDATE b/LDATE index b4c8010..9499dd9 100755 --- a/LDATE +++ b/LDATE @@ -1,4 +1,4 @@ #!/bin/sh set -x -date '+%Y-%m-%d %H:%M:%S %z %Z' "$@" +date '+%Y-%m-%d %H:%M:%S.%N %z %Z' "$@"