BK-2020-03.git
19 months agofix(user/bkdatev):Make compatible with Bash 3.2.57
Steven Baltakatei Sandoval [Tue, 23 May 2023 01:39:57 +0000 (01:39 +0000)]
fix(user/bkdatev):Make compatible with Bash 3.2.57

- Note: In Bash 5.1, a negative length argument in a parameter
  substitution (i.e. the `$len` in `${myVar:$start_idx:$len}`) causes
  the last characters of the $myVar string to be truncated which is
  convenient in various applications. However, a negative length in Bash
  3.2.57 (a macOS machine I happen to have) throws an error; for
  compatibility, I've instead added an additional arithemetical
  operation to calculate the positive length that corresponds to a
  truncation by 2 of the total string length.

19 months agofeat(user/bkdatev): Add macOS BSD date compatibility
Steven Baltakatei Sandoval [Tue, 23 May 2023 01:19:11 +0000 (01:19 +0000)]
feat(user/bkdatev): Add macOS BSD date compatibility

- Note(user/bkdatev): v0.2.2 -> v0.3.0

19 months agofeat(unitproc):Bash function to insert string into another string
Steven Baltakatei Sandoval [Mon, 22 May 2023 23:55:23 +0000 (23:55 +0000)]
feat(unitproc):Bash function to insert string into another string

19 months agochore(unitproc/bkt-checkInt):Use 'must' instead of 'try'
Steven Baltakatei Sandoval [Mon, 22 May 2023 23:23:23 +0000 (23:23 +0000)]
chore(unitproc/bkt-checkInt):Use 'must' instead of 'try'

- note: Also put regular expression test input in quotes.

19 months agofeat(user/bk-copy-rand-music):Restrict filenames of copied files
Steven Baltakatei Sandoval [Sat, 20 May 2023 22:23:19 +0000 (22:23 +0000)]
feat(user/bk-copy-rand-music):Restrict filenames of copied files

- Note: Using `tr -dc '[:graph:][:space:]'` as character filter.

20 months agofeat(user/mp3s_to_opus.sh):Add script to combine mp3s into an opus
Steven Baltakatei Sandoval [Wed, 26 Apr 2023 11:36:53 +0000 (11:36 +0000)]
feat(user/mp3s_to_opus.sh):Add script to combine mp3s into an opus

- Note: Useful for combining audiobooks split across many mp3 files.

20 months agofeat(user/mw_create...):Update mediawiki journal create scripts
Steven Baltakatei Sandoval [Tue, 25 Apr 2023 10:17:34 +0000 (10:17 +0000)]
feat(user/mw_create...):Update mediawiki journal create scripts

20 months agofeat(user/mw_create_year_journal):Add mediawiki page script
Steven Baltakatei Sandoval [Tue, 25 Apr 2023 09:46:31 +0000 (09:46 +0000)]
feat(user/mw_create_year_journal):Add mediawiki page script

20 months agofeat(unitproc/python/):Add EVA-2020-02-2 humidity conversions
Steven Baltakatei Sandoval [Thu, 20 Apr 2023 07:20:12 +0000 (07:20 +0000)]
feat(unitproc/python/):Add EVA-2020-02-2 humidity conversions

- Note: See:
  - https://zdv2.bktei.com/gitweb/EVA-2020-02.git
  - https://zdv2.bktei.com/gitweb/EVA-2020-02-2.git
  - https://gitlab.com/baltakatei/ninfacyzga-01

20 months agofeat(user/mw_create_month_journal_range):Add mw script
Steven Baltakatei Sandoval [Tue, 11 Apr 2023 20:41:51 +0000 (20:41 +0000)]
feat(user/mw_create_month_journal_range):Add mw script

- Note: Creates journal month boilerplate for year range 1582/2100.

20 months agofeat(unitproc/bk_export_audio.sh):Run conversion jobs in parallel
Steven Baltakatei Sandoval [Tue, 11 Apr 2023 16:27:39 +0000 (16:27 +0000)]
feat(unitproc/bk_export_audio.sh):Run conversion jobs in parallel

- Note: Uses `nproc` from GNU Coreutils 8.32

20 months agoupdate(archive/bktei_signing_key.asc):Update exp date
Steven Baltakatei Sandoval [Tue, 11 Apr 2023 16:24:58 +0000 (16:24 +0000)]
update(archive/bktei_signing_key.asc):Update exp date

- Note: key fingerprint:
  3457 A265 922A 1F38 39DB 0264 A0A2 95AB DC34 69C9

20 months agofeat(unitproc/bkcsvjoin):Add version number
Steven Baltakatei Sandoval [Wed, 29 Mar 2023 06:00:02 +0000 (06:00 +0000)]
feat(unitproc/bkcsvjoin):Add version number

20 months agofeat(user/check_ots.sh):Handle .ots.bak, .OTS files.
Steven Baltakatei Sandoval [Tue, 28 Mar 2023 21:06:15 +0000 (21:06 +0000)]
feat(user/check_ots.sh):Handle .ots.bak, .OTS files.

- style(user/check_ots.sh):Organize into bash functions.

21 months agoupdate(README):Add link to reboil.com wiki entry for project
Steven Baltakatei Sandoval [Sun, 19 Mar 2023 22:27:14 +0000 (22:27 +0000)]
update(README):Add link to reboil.com wiki entry for project

21 months agofeat(user/mw_create_month_journal.sh):Add mediawiki script
Steven Baltakatei Sandoval [Thu, 16 Mar 2023 23:33:59 +0000 (23:33 +0000)]
feat(user/mw_create_month_journal.sh):Add mediawiki script

- Note: Useful for creating monthly journals

21 months agofeat(user/ots-git-gpg-wrapper*):Add OpenTimestamps v0.7.0 wrapper scripts
Steven Baltakatei Sandoval [Tue, 14 Mar 2023 07:55:58 +0000 (07:55 +0000)]
feat(user/ots-git-gpg-wrapper*):Add OpenTimestamps v0.7.0 wrapper scripts

- Note: See
    https://github.com/opentimestamps/opentimestamps-client/blob/cd9ca65cbf7bd70db668cce47241f0feb8ea2186/ots-git-gpg-wrapper.sh

- Note: Wrapper scripts are meant to replace the default
  `ots-git-gpg-wrapper.sh` script included in ots v0.7.0:
    https://github.com/opentimestamps/opentimestamps-client/blob/cd9ca65cbf7bd70db668cce47241f0feb8ea2186/ots-git-gpg-wrapper.sh

21 months agofeat(unitproc/get_rand_line):Bash script that gets random line
Steven Baltakatei Sandoval [Tue, 7 Mar 2023 21:32:55 +0000 (21:32 +0000)]
feat(unitproc/get_rand_line):Bash script that gets random line

21 months agofix(unitproc/bkshuf):Init Bash PRNG before consuming lines
Steven Baltakatei Sandoval [Sat, 4 Mar 2023 00:44:18 +0000 (00:44 +0000)]
fix(unitproc/bkshuf):Init Bash PRNG before consuming lines

- Note: v0.1.1 -> v0.1.2

21 months agofeat(unitproc/isAudio):Add script to filter audio files from find results
Steven Baltakatei Sandoval [Sat, 4 Mar 2023 00:12:49 +0000 (00:12 +0000)]
feat(unitproc/isAudio):Add script to filter audio files from find results

21 months agoupdate(unitproc/bkdstcountdown):Refactor
Steven Baltakatei Sandoval [Fri, 3 Mar 2023 23:31:54 +0000 (23:31 +0000)]
update(unitproc/bkdstcountdown):Refactor

21 months agofeat(user/git-bk-find-file):Show ISO 8601 time along with commit 0.8.1
Steven Baltakatei Sandoval [Thu, 2 Mar 2023 18:49:25 +0000 (18:49 +0000)]
feat(user/git-bk-find-file):Show ISO 8601 time along with commit

22 months agochore(README.org):Update with bktei project code
Steven Baltakatei Sandoval [Fri, 24 Feb 2023 21:23:17 +0000 (21:23 +0000)]
chore(README.org):Update with bktei project code

22 months agofeat(user/ping_offline.sh):Add script to ping until it succeeds once
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 22:36:13 +0000 (22:36 +0000)]
feat(user/ping_offline.sh):Add script to ping until it succeeds once

- Note: the script is meant to mark the time when internet
  connectivity is reestablished.

- doc(user/ping_offline.sh.org):Add docs

- doc(user/template.org):Add template for future executable
  documentation.

22 months agodoc(user/rmsym.org):Describe rmsym
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 18:54:16 +0000 (18:54 +0000)]
doc(user/rmsym.org):Describe rmsym

22 months agofeat(user/rmsym):Add script to delete only symlinks
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 18:40:49 +0000 (18:40 +0000)]
feat(user/rmsym):Add script to delete only symlinks

22 months agofeat(user/get_ytpljson.sh):Add script to get YT playlist metadata
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 12:39:14 +0000 (12:39 +0000)]
feat(user/get_ytpljson.sh):Add script to get YT playlist metadata

- Note: Requests YouTube playlist metadata in JSON format from
  `https://www.googleapis.com`.

22 months agofeat(user/space4):Add script to space out stdin every 4 lines
Steven Baltakatei Sandoval [Mon, 20 Feb 2023 10:31:51 +0000 (10:31 +0000)]
feat(user/space4):Add script to space out stdin every 4 lines

22 months agofeat(user/bk-copy-rand-music): Use env vars for bkshuf params
Steven Baltakatei Sandoval [Sat, 18 Feb 2023 17:59:52 +0000 (17:59 +0000)]
feat(user/bk-copy-rand-music): Use env vars for bkshuf params

- fix(bk-copy-rand-music):Fix upper size and duration cutoffs
- feat(unitproc/bkshuf):Detect env vars

22 months agofeat(user/bk-copy-rand-music):Clump output with bkshuf
Steven Baltakatei Sandoval [Sat, 18 Feb 2023 15:31:56 +0000 (15:31 +0000)]
feat(user/bk-copy-rand-music):Clump output with bkshuf

- feat(unitproc/bkshuf):Utilize environment variables if available
- doc(.../bkshuf/article.tm):update TeXmacs article

22 months agochore(doc/up/bkshuf/article.tm):Update GitLab URL in bkshuf doc
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 13:49:07 +0000 (13:49 +0000)]
chore(doc/up/bkshuf/article.tm):Update GitLab URL in bkshuf doc

22 months agofeat(doc/up/bkshuf/):Add TeXmacs documentation
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 13:27:57 +0000 (13:27 +0000)]
feat(doc/up/bkshuf/):Add TeXmacs documentation

- Note: Compiled PDF uploaded to:

  https://reboil.com/res/2023/txt/20230214T1327+00..bkshuf_article.pdf

22 months agofeat(user/bkfeh):Use unique names for sample files
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 13:24:38 +0000 (13:24 +0000)]
feat(user/bkfeh):Use unique names for sample files

- Note: Use both file order and file b2sum 32-bit hashes

22 months agofeat(unitproc/bkshuf):Add bash script like shuf
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 11:45:28 +0000 (11:45 +0000)]
feat(unitproc/bkshuf):Add bash script like shuf

- Note: bkshuf tends to preserve neighbors in output

22 months agofix(unitproc/bkt-randFloat):Resolve shellcheck delinter warnings
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:51:49 +0000 (08:51 +0000)]
fix(unitproc/bkt-randFloat):Resolve shellcheck delinter warnings

22 months agofeat(unitproc/bkt-randFloat):Update to use printf
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:28:40 +0000 (08:28 +0000)]
feat(unitproc/bkt-randFloat):Update to use printf

22 months agochore(unitproc/bkt-randFloat):Add more sample code
Steven Baltakatei Sandoval [Tue, 14 Feb 2023 08:23:44 +0000 (08:23 +0000)]
chore(unitproc/bkt-randFloat):Add more sample code

22 months agofeat(u/bkfeh):Accept sample dir size and file count via envvar
Steven Baltakatei Sandoval [Wed, 1 Feb 2023 08:05:54 +0000 (08:05 +0000)]
feat(u/bkfeh):Accept sample dir size and file count via envvar

22 months agofeat(user/bkfeh):Save up to 100MB or 100 sample images if envvar set
Steven Baltakatei Sandoval [Mon, 30 Jan 2023 17:40:06 +0000 (17:40 +0000)]
feat(user/bkfeh):Save up to 100MB or 100 sample images if envvar set

- Note: Environment variable is BKFEH_SAMPLE_DIR in which contents
  will be deleted and sample images saved upon every run of bkfeh.

23 months agofeat(user/bkfeh):Process stdin and psargs separately
Steven Baltakatei Sandoval [Tue, 17 Jan 2023 06:43:54 +0000 (06:43 +0000)]
feat(user/bkfeh):Process stdin and psargs separately

- Note: Filter out dotfiles via a grep of file list

23 months agofeat(user/bkfeh):Ignore dotfile directories (e.g. `./.Photos`)
Steven Baltakatei Sandoval [Tue, 17 Jan 2023 00:25:46 +0000 (00:25 +0000)]
feat(user/bkfeh):Ignore dotfile directories (e.g. `./.Photos`)

- feat(unitproc/bkt-filter_no_dots):Add bash function to filter out
  stdin lines with dotfile basenames. (Note: Quite slow).
- chore(unitproc/bkt-read_stdin_psarg):Remove debug code and fix how
  posarg is read (error found via shellcheck).

23 months agofeat(user/bkfeh):Add wrapper for feh 0.8.0
Steven Baltakatei Sandoval [Sat, 14 Jan 2023 04:19:45 +0000 (04:19 +0000)]
feat(user/bkfeh):Add wrapper for feh

- Note: accepts dirs via stdin or positional arguments. Uses GNU
  Parallel to speed up `find` operations.

23 months agochore(up/bkt-read_stdin_psarg):Add version number
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 05:51:53 +0000 (05:51 +0000)]
chore(up/bkt-read_stdin_psarg):Add version number

23 months agoMerge branch 'develop' 0.7.0
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 04:10:14 +0000 (04:10 +0000)]
Merge branch 'develop'

23 months agofeat(up/bkt-read_stdin_psarg):add bash func to read stdin and posarg
Steven Baltakatei Sandoval [Fri, 13 Jan 2023 04:09:11 +0000 (04:09 +0000)]
feat(up/bkt-read_stdin_psarg):add bash func to read stdin and posarg

- Note: bash function name: read_stdin_psarg()

23 months agofeat(user/bkdatediff):Add script to calculate timestamp differences
Steven Baltakatei Sandoval [Tue, 10 Jan 2023 16:12:49 +0000 (16:12 +0000)]
feat(user/bkdatediff):Add script to calculate timestamp differences

- Note: Uses GNU date

23 months agoMerge branch 'master' into develop
Steven Baltakatei Sandoval [Sat, 7 Jan 2023 22:27:20 +0000 (22:27 +0000)]
Merge branch 'master' into develop

23 months agofeat(user/git-bk-find-file):Add script to search old tree filenames 0.6.0
Steven Baltakatei Sandoval [Sat, 7 Jan 2023 22:24:38 +0000 (22:24 +0000)]
feat(user/git-bk-find-file):Add script to search old tree filenames

- Ref/Attrib: albfan "How can I search Git branches for a file or
  directory?"

  https://stackoverflow.com/a/16868704/10850071

23 months agostyle(unitproc/):Shorten names of template prefix (bktemp -> bkt)
Steven Baltakatei Sandoval [Thu, 5 Jan 2023 17:07:55 +0000 (17:07 +0000)]
style(unitproc/):Shorten names of template prefix (bktemp -> bkt)

23 months agofeat(user/bk-gpg-ver-sigs):Add script to verify many gpg sig files
Steven Baltakatei Sandoval [Wed, 4 Jan 2023 16:54:15 +0000 (16:54 +0000)]
feat(user/bk-gpg-ver-sigs):Add script to verify many gpg sig files

- chore(unitproc/bktemp-yellDieTry):Rename bktemp-yellDieMust per
  monking's naming convention.

23 months agofeat(user/regex-backslash.sh):Add script to escape regex chars
Steven Baltakatei Sandoval [Sat, 31 Dec 2022 15:20:53 +0000 (15:20 +0000)]
feat(user/regex-backslash.sh):Add script to escape regex chars

2 years agofeat(user/list_large_dirs.sh):Set version 1.0.0
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 09:03:23 +0000 (09:03 +0000)]
feat(user/list_large_dirs.sh):Set version 1.0.0

2 years agofeat(user/list_large_dirs.sh):Simplify check_depends()
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 07:07:43 +0000 (07:07 +0000)]
feat(user/list_large_dirs.sh):Simplify check_depends()

2 years agofeat(user/list_large_dirs.sh):Add script
Steven Baltakatei Sandoval [Thu, 1 Dec 2022 06:50:14 +0000 (06:50 +0000)]
feat(user/list_large_dirs.sh):Add script

2 years agofix(user/bkdatev):Unset LC_TIME so date can use locale-specific %c
Steven Baltakatei Sandoval [Tue, 29 Nov 2022 07:45:45 +0000 (07:45 +0000)]
fix(user/bkdatev):Unset LC_TIME so date can use locale-specific %c

2 years agofix(user/bkdatev):typo
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:34:28 +0000 (22:34 +0000)]
fix(user/bkdatev):typo

2 years agofeat(user/bkdatev):Add Taiwan and Pyongyang
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:30:14 +0000 (22:30 +0000)]
feat(user/bkdatev):Add Taiwan and Pyongyang

2 years agofeat(user/bkdatev):Substitute UNIX epoch for UTC locale time
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 22:16:16 +0000 (22:16 +0000)]
feat(user/bkdatev):Substitute UNIX epoch for UTC locale time

2 years agofeat(user/bkdatev):Script to print various verbose iso-8601 dates
Steven Baltakatei Sandoval [Fri, 11 Nov 2022 21:49:04 +0000 (21:49 +0000)]
feat(user/bkdatev):Script to print various verbose iso-8601 dates

2 years agofeat(user/get_gpgkey_from_gitlog.sh):Add checkapp()
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 18:13:46 +0000 (18:13 +0000)]
feat(user/get_gpgkey_from_gitlog.sh):Add checkapp()

2 years agochore(user/get_gpgkey_from_gitlog.sh):Add version number
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 17:42:23 +0000 (17:42 +0000)]
chore(user/get_gpgkey_from_gitlog.sh):Add version number

2 years agofeat(user):Script to get gpg fingerprints from git dir
Steven Baltakatei Sandoval [Thu, 10 Nov 2022 17:40:21 +0000 (17:40 +0000)]
feat(user):Script to get gpg fingerprints from git dir

- chore(.):Move draft scripts to draft dirs

2 years agochore(user/bk_this-date...):Fix permissions
Steven Baltakatei Sandoval [Sun, 25 Sep 2022 11:51:17 +0000 (11:51 +0000)]
chore(user/bk_this-date...):Fix permissions

2 years agofeat(user/bk_this-date): Add script to print dow for given dom 0.5.1
Steven Baltakatei Sandoval [Sun, 25 Sep 2022 11:22:44 +0000 (11:22 +0000)]
feat(user/bk_this-date): Add script to print dow for given dom

- Note: script name: bk_this-date-in-recent-years.sh

- Note: The script prints out an iso-8601 date string followed by the
  day of the week for the most recent 10 years or a specified date
  range. Useful for determining likely years a month-day combination
  occured when the day of the week is known.

2 years agofix(user/bksum):Inhibit stdout/err messages for wait timestamps
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 23:40:27 +0000 (23:40 +0000)]
fix(user/bksum):Inhibit stdout/err messages for wait timestamps

- Note: 'ots --wait s file' prints terminal text every 30 seconds for
  every calendar server. Unless inhibited, these messages obscure the
  progress dots of 'bksum'.

2 years agofeat(user/bksum):Add wait option for timestamps
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 23:29:28 +0000 (23:29 +0000)]
feat(user/bksum):Add wait option for timestamps

- Note: Equivalent to adding "--wait" to an `ots` command.
- feat(unitproc/bktemp-count_jobs):Assign version number to
    count_jobs() function.

2 years agochore(user/bksum):Bump version to note executable name change
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 21:29:16 +0000 (21:29 +0000)]
chore(user/bksum):Bump version to note executable name change

2 years agostyle(user/bksum):Rename bksumsign.sh to bksum
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 21:28:30 +0000 (21:28 +0000)]
style(user/bksum):Rename bksumsign.sh to bksum

2 years agofeat(user/bksumsign.sh):Personal checksum script
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 21:24:49 +0000 (21:24 +0000)]
feat(user/bksumsign.sh):Personal checksum script

- Note: Permits signing and timestamping checksum with GnuPG and
  OpenTimestamps respectively.

2 years agofeat(u/bktemp-checkAppFileDir):Fix zero-length string bug
Steven Baltakatei Sandoval [Tue, 20 Sep 2022 20:24:08 +0000 (20:24 +0000)]
feat(u/bktemp-checkAppFileDir):Fix zero-length string bug

- Note: checkfile() had "bad array subscript" error when fed a
  zero-length string as input.

2 years agofeat(user/mw_create_redirect_day_month): Create mediawiki script
Steven Baltakatei Sandoval [Fri, 2 Sep 2022 09:19:21 +0000 (09:19 +0000)]
feat(user/mw_create_redirect_day_month): Create mediawiki script

- Note: Script generates a text file for each day of a specified year
containing redirect wikicode used to link to each day's month's
page. I made this for my personal mediawiki journal so I can wikilink
to iso-8601 dates (e.g. 2022-09-02) and get the corresponding month's
page (e.g. 2022-09) instead (jumping to the section with the iso-8601
date).

2 years agofix(user/bkots):Only use 25% of available CPUs
Steven Baltakatei Sandoval [Wed, 27 Jul 2022 01:48:36 +0000 (01:48 +0000)]
fix(user/bkots):Only use 25% of available CPUs

2 years agochore(user/convert_file_to_flac.sh):Note version number of depends
Steven Baltakatei Sandoval [Tue, 26 Jul 2022 19:34:24 +0000 (19:34 +0000)]
chore(user/convert_file_to_flac.sh):Note version number of depends

2 years agofix(user/):Fix flac converter script
Steven Baltakatei Sandoval [Tue, 26 Jul 2022 19:26:26 +0000 (19:26 +0000)]
fix(user/):Fix flac converter script

- Note: Make it drop audio
- Note: Make it use compression level 12

modified:   user/convert_file_to_flac.sh

2 years agofeat(user/):Add script to convert files to FLAC with ffmpeg
Steven Baltakatei Sandoval [Tue, 26 Jul 2022 18:48:37 +0000 (18:48 +0000)]
feat(user/):Add script to convert files to FLAC with ffmpeg

new file:   user/convert_file_to_flac.sh

2 years agofix(user/bk-naut-hide):Disable find -L option to avoid loop
Steven Baltakatei Sandoval [Sun, 24 Jul 2022 08:18:33 +0000 (08:18 +0000)]
fix(user/bk-naut-hide):Disable find -L option to avoid loop

2 years agofix(user/bk-naut-hide):Comment out debug stderr
Steven Baltakatei Sandoval [Sat, 23 Jul 2022 07:44:56 +0000 (07:44 +0000)]
fix(user/bk-naut-hide):Comment out debug stderr

2 years agofeat(user/):Add script to check an ots file
Steven Baltakatei Sandoval [Thu, 21 Jul 2022 04:55:39 +0000 (04:55 +0000)]
feat(user/):Add script to check an ots file

new file:   user/check_ots.sh

2 years agofix(user/bkots):Exit code 0 if script finishes
Steven Baltakatei Sandoval [Fri, 27 May 2022 20:13:47 +0000 (20:13 +0000)]
fix(user/bkots):Exit code 0 if script finishes

2 years agochore(user/bkots):Comment debug line
Steven Baltakatei Sandoval [Fri, 27 May 2022 09:57:59 +0000 (09:57 +0000)]
chore(user/bkots):Comment debug line

2 years agofeat(user/bkots):Optimize with GNU Parallel for executing commands
Steven Baltakatei Sandoval [Fri, 27 May 2022 08:55:02 +0000 (08:55 +0000)]
feat(user/bkots):Optimize with GNU Parallel for executing commands

  - Assemble each command and save as string in array; then execute
    array.

  - Use bash function as wrapper to echo and group each command being
    performed along with its stdout/stderr messages.

  - Use regex search of '/.' to find and exclude dotfile paths instead
    of resolving each basename of each parent directory in each path.

  - Use double quotes to handle file names with special characters.

    - Escape out double quotes when they appear in file names.

  - Note: Incrementing major version number due to added dependency of
    GNU Parallel 20210822

2 years agofeat(user/bk-find-git-verify):Add script to verify many git sigs
Steven Baltakatei Sandoval [Mon, 16 May 2022 17:51:19 +0000 (17:51 +0000)]
feat(user/bk-find-git-verify):Add script to verify many git sigs

2 years agofeat(unitproc/bktemp-count_jobs):Add count_jobs() function 0.5.0
Steven Baltakatei Sandoval [Fri, 13 May 2022 20:42:34 +0000 (20:42 +0000)]
feat(unitproc/bktemp-count_jobs):Add count_jobs() function

- Note: GNU parallel does what the `count_jobs()` was intended to
  facilitate: control the number of jobs spawned in bash scripts.

2 years agofeat(user/bkots): Don't timestamp files changed in last 1 min
Steven Baltakatei Sandoval [Tue, 3 May 2022 00:35:04 +0000 (00:35 +0000)]
feat(user/bkots): Don't timestamp files changed in last 1 min

- Note: The intent of a minimum age limit for files to be timestamped
  is to avoid timestamping files that are frequently changing.

2 years agochore(user/):Permissions
Steven Baltakatei Sandoval [Mon, 2 May 2022 22:25:42 +0000 (22:25 +0000)]
chore(user/):Permissions

2 years agochore(user/bk-naut-hide):Add version number
Steven Baltakatei Sandoval [Mon, 2 May 2022 22:24:26 +0000 (22:24 +0000)]
chore(user/bk-naut-hide):Add version number

2 years agofeat(user/):Add bash script to update .hidden files for nautilus
Steven Baltakatei Sandoval [Mon, 2 May 2022 22:23:33 +0000 (22:23 +0000)]
feat(user/):Add bash script to update .hidden files for nautilus

new file:   user/bk-naut-hide

2 years agofeat(user/):Remove quotation marks from ots arguments
Steven Baltakatei Sandoval [Sun, 1 May 2022 23:11:30 +0000 (23:11 +0000)]
feat(user/):Remove quotation marks from ots arguments

2 years agofix(user/bkots):Handle spaces in filenames provided to 'ots' command
Steven Baltakatei Sandoval [Sun, 1 May 2022 07:17:09 +0000 (07:17 +0000)]
fix(user/bkots):Handle spaces in filenames provided to 'ots' command

2 years agominor(user/bkots):fix verbose comment
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 08:41:32 +0000 (08:41 +0000)]
minor(user/bkots):fix verbose comment

2 years agofix(user/bkots):Fix stamp action
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 08:00:36 +0000 (08:00 +0000)]
fix(user/bkots):Fix stamp action

2 years agofeat(user/bkots):Run ots separately for each calendar
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 07:55:11 +0000 (07:55 +0000)]
feat(user/bkots):Run ots separately for each calendar

- note: 'ots' 0.7.0 fails if any of the default calendars are
  unavailable; it may exit before trying a calendar that is
  responsive. Therefore, the best backup solution is to run 'ots'
  multiple times: each run with a different calendar specified.

2 years agofeat(user/bkots):Add script to run ots recursively
Steven Baltakatei Sandoval [Sat, 30 Apr 2022 02:08:45 +0000 (02:08 +0000)]
feat(user/bkots):Add script to run ots recursively

2 years agofix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:45:52 +0000 (16:45 +0000)]
fix(user/gpgfp-noemail):Rename and fix bk-gpgfp-noemail

- Note: output was omitting uid line

2 years agochore(user/bk-gpgfp-noemail):make executable
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:39:22 +0000 (16:39 +0000)]
chore(user/bk-gpgfp-noemail):make executable

2 years agochore(user/bk-gpgfp-noemail):Add version info
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:38:09 +0000 (16:38 +0000)]
chore(user/bk-gpgfp-noemail):Add version info

2 years agofeat(user):Add script to show gpg fingerprint with obscured email
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 16:34:25 +0000 (16:34 +0000)]
feat(user):Add script to show gpg fingerprint with obscured email

- note: requires `b2sum`

 Changes to be committed:
new file:   user/bk-gpgfp-noemail

2 years agochore(unitproc):Rename script
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 14:45:08 +0000 (14:45 +0000)]
chore(unitproc):Rename script

- Note: Renaming `bktemp-check_gpg_fingerprint` to
  `bktemp-check_resembles_gpg_fingerprint` since the script doesn't
  actually use gpg to check the fingerprint.

2 years agofeat(unitproc):Add script to check if string is gpg fingerprint
Steven Baltakatei Sandoval [Wed, 9 Mar 2022 14:37:27 +0000 (14:37 +0000)]
feat(unitproc):Add script to check if string is gpg fingerprint

2 years agofeat(unitproc/bknpass):Make portable if script used in bash function
Steven Baltakatei Sandoval [Thu, 3 Mar 2022 00:56:05 +0000 (00:56 +0000)]
feat(unitproc/bknpass):Make portable if script used in bash function

- feat(unitproc/bknpass):
  - Exit on too many arguments.
  - Remove repeat chars (for future version when charset specified by option)