Compare commits
1 Commits
main
...
export-chr
Author | SHA1 | Date | |
---|---|---|---|
![]() |
5557f080c9 |
|
@ -1,10 +1,20 @@
|
||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell --pure -i bash -p dejsonlz4 jq bash -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/fea633695211167753ee732c9087808d0c57461c.tar.gz
|
#!nix-shell --pure -i bash -p jq bash -I nixpkgs=https://github.com/NixOS/nixpkgs/archive/fea633695211167753ee732c9087808d0c57461c.tar.gz
|
||||||
|
|
||||||
# Usage: ./export-firefox-bookmarks.sh [path/to/.mozilla/firefox/XXXXXXXX.profile]
|
|
||||||
|
|
||||||
set -euET -o pipefail
|
set -euET -o pipefail
|
||||||
|
|
||||||
|
usage() {
|
||||||
|
printf "Usage: %q [path/to/.config/chromium/Default/]"\\n "$0"
|
||||||
|
}
|
||||||
|
|
||||||
|
if test $# -ne 1; then
|
||||||
|
usage
|
||||||
|
exit 1
|
||||||
|
elif test $# -eq 1 && (test "x$1" = "x-h" || test "x$1" = "x--help"); then
|
||||||
|
usage
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
if test $# -ge 1; then
|
if test $# -ge 1; then
|
||||||
profile="$1"
|
profile="$1"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user