Add .gitignore and enhance LDATE.

This commit is contained in:
Doncho N. Gunchev 2024-01-28 01:48:21 +02:00
parent 9f28d27595
commit 9c32ba4a8c
Signed by: dgunchev
GPG key ID: D30FD19F37E002A9
2 changed files with 32 additions and 1 deletions

31
.gitignore vendored Normal file
View file

@ -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

2
LDATE
View file

@ -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' "$@"