♻️ Refactored makelist scripts
This commit is contained in:
parent
eb9510e316
commit
0c6a337aea
6 changed files with 38 additions and 12 deletions
1
my_binaries.txt
Normal file
1
my_binaries.txt
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
my_pacman_packages.txt
Normal file
1
my_pacman_packages.txt
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,6 @@
|
||||||
Package Version
|
Package Version
|
||||||
----------------------------- -----------
|
----------------------------- -----------
|
||||||
|
acme 1.29.0
|
||||||
adblock 0.5.2
|
adblock 0.5.2
|
||||||
alabaster 0.7.12
|
alabaster 0.7.12
|
||||||
anyio 3.6.1
|
anyio 3.6.1
|
||||||
|
|
@ -14,7 +15,8 @@ Babel 2.9.1
|
||||||
Beaker 1.11.0
|
Beaker 1.11.0
|
||||||
beautifulsoup4 4.11.1
|
beautifulsoup4 4.11.1
|
||||||
btrfsutil 5.19
|
btrfsutil 5.19
|
||||||
CacheControl 0.12.6
|
CacheControl 0.12.11
|
||||||
|
certbot 1.29.0
|
||||||
certifi 2021.10.8
|
certifi 2021.10.8
|
||||||
cffi 1.15.1
|
cffi 1.15.1
|
||||||
chardet 3.0.4
|
chardet 3.0.4
|
||||||
|
|
@ -22,6 +24,8 @@ charset-normalizer 2.1.1
|
||||||
click 7.1.2
|
click 7.1.2
|
||||||
colorama 0.4.5
|
colorama 0.4.5
|
||||||
commonmark 0.9.1
|
commonmark 0.9.1
|
||||||
|
ConfigArgParse 1.5.1
|
||||||
|
configobj 5.1.0.dev0
|
||||||
configparser 5.2.0
|
configparser 5.2.0
|
||||||
contextlib2 21.6.0
|
contextlib2 21.6.0
|
||||||
cryptography 37.0.4
|
cryptography 37.0.4
|
||||||
|
|
@ -69,20 +73,21 @@ jaraco.functools 3.5.1
|
||||||
jaraco.text 3.9.1
|
jaraco.text 3.9.1
|
||||||
jeepney 0.8.0
|
jeepney 0.8.0
|
||||||
Jinja2 3.1.2
|
Jinja2 3.1.2
|
||||||
|
josepy 1.13.0
|
||||||
jsonpointer 2.3
|
jsonpointer 2.3
|
||||||
jsonschema 4.9.0
|
jsonschema 4.14.0
|
||||||
keyring 23.4.0
|
keyring 23.4.0
|
||||||
kitchen 1.2.6
|
kitchen 1.2.6
|
||||||
kiwisolver 1.4.4
|
kiwisolver 1.4.4
|
||||||
lensfun 0.3.3
|
lensfun 0.3.3
|
||||||
LibAppArmor 3.1.1
|
LibAppArmor 3.1.1
|
||||||
libfdt 1.6.1
|
libfdt 1.6.1
|
||||||
libvirt-python 8.6.0
|
libvirt-python 8.7.0
|
||||||
lit 14.0.6.dev0
|
lit 14.0.6.dev0
|
||||||
log-symbols 0.0.14
|
log-symbols 0.0.14
|
||||||
louis 3.22.0
|
louis 3.22.0
|
||||||
lxml 4.9.1
|
lxml 4.9.1
|
||||||
Mako 1.2.1
|
Mako 1.2.2
|
||||||
mallard-ducktype 1.0.2
|
mallard-ducktype 1.0.2
|
||||||
Markdown 3.4.1
|
Markdown 3.4.1
|
||||||
MarkupSafe 2.1.1
|
MarkupSafe 2.1.1
|
||||||
|
|
@ -100,7 +105,8 @@ nspektr 0.4.0
|
||||||
numpy 1.23.2
|
numpy 1.23.2
|
||||||
ordered-set 4.1.0
|
ordered-set 4.1.0
|
||||||
packaging 21.3
|
packaging 21.3
|
||||||
peewee 3.15.1
|
parsedatetime 2.6
|
||||||
|
peewee 3.15.2
|
||||||
pep517 0.13.0
|
pep517 0.13.0
|
||||||
Pillow 9.2.0
|
Pillow 9.2.0
|
||||||
pip 22.2.2
|
pip 22.2.2
|
||||||
|
|
@ -117,7 +123,7 @@ pycairo 1.21.0
|
||||||
pycountry 22.3.5
|
pycountry 22.3.5
|
||||||
pycparser 2.21
|
pycparser 2.21
|
||||||
pycryptodome 3.15.0
|
pycryptodome 3.15.0
|
||||||
pydantic 1.9.2
|
pydantic 1.10.1
|
||||||
Pygments 2.13.0
|
Pygments 2.13.0
|
||||||
PyGObject 3.42.2
|
PyGObject 3.42.2
|
||||||
pyinotify 0.9.6
|
pyinotify 0.9.6
|
||||||
|
|
@ -128,8 +134,10 @@ pyparsing 3.0.9
|
||||||
PyQt5 5.15.7
|
PyQt5 5.15.7
|
||||||
PyQt5-Qt5 5.15.2
|
PyQt5-Qt5 5.15.2
|
||||||
PyQt5-sip 12.9.0
|
PyQt5-sip 12.9.0
|
||||||
|
pyRFC3339 1.1
|
||||||
pyright 1.1.239
|
pyright 1.1.239
|
||||||
pyrsistent 0.18.1
|
pyrsistent 0.18.1
|
||||||
|
pyseoanalyzer 4.0.6
|
||||||
PySocks 1.7.1
|
PySocks 1.7.1
|
||||||
pyte 0.8.1
|
pyte 0.8.1
|
||||||
python-dateutil 2.8.2
|
python-dateutil 2.8.2
|
||||||
|
|
@ -143,6 +151,7 @@ PyYAML 6.0
|
||||||
qmk 1.1.1
|
qmk 1.1.1
|
||||||
ranger-fm 1.9.3
|
ranger-fm 1.9.3
|
||||||
requests 2.28.1
|
requests 2.28.1
|
||||||
|
requests-toolbelt 0.9.1
|
||||||
resolvelib 0.8.1
|
resolvelib 0.8.1
|
||||||
retrying 1.3.3
|
retrying 1.3.3
|
||||||
rfc3986 1.5.0
|
rfc3986 1.5.0
|
||||||
|
|
@ -152,7 +161,7 @@ Rx 3.2.0
|
||||||
screenkey 1.5
|
screenkey 1.5
|
||||||
SecretStorage 3.3.3
|
SecretStorage 3.3.3
|
||||||
sentencepiece 0.1.96
|
sentencepiece 0.1.96
|
||||||
setuptools 62.3.1
|
setuptools 62.3.3
|
||||||
shellingham 1.4.0
|
shellingham 1.4.0
|
||||||
shtab 1.5.5
|
shtab 1.5.5
|
||||||
six 1.16.0
|
six 1.16.0
|
||||||
|
|
@ -160,6 +169,7 @@ smmap 5.0.0
|
||||||
sniffio 1.2.0
|
sniffio 1.2.0
|
||||||
snowballstemmer 2.2.0
|
snowballstemmer 2.2.0
|
||||||
soupsieve 2.3.2.post1
|
soupsieve 2.3.2.post1
|
||||||
|
speedtest-cli 2.1.4b1
|
||||||
Sphinx 3.2.1
|
Sphinx 3.2.1
|
||||||
sphinx-rtd-theme 1.0.0
|
sphinx-rtd-theme 1.0.0
|
||||||
sphinxcontrib-applehelp 1.0.2
|
sphinxcontrib-applehelp 1.0.2
|
||||||
|
|
@ -181,7 +191,7 @@ toml 0.10.2
|
||||||
tomli 2.0.1
|
tomli 2.0.1
|
||||||
torch 1.12.1
|
torch 1.12.1
|
||||||
tqdm 4.64.0
|
tqdm 4.64.0
|
||||||
trove-classifiers 2022.8.24
|
trove-classifiers 2022.8.31
|
||||||
tuir 1.29.0
|
tuir 1.29.0
|
||||||
typer 0.3.2
|
typer 0.3.2
|
||||||
typer-cli 0.0.12
|
typer-cli 0.0.12
|
||||||
|
|
@ -189,6 +199,7 @@ typing_extensions 4.3.0
|
||||||
ufw 0.36.1
|
ufw 0.36.1
|
||||||
urllib3 1.26.12
|
urllib3 1.26.12
|
||||||
urwid 2.1.2
|
urwid 2.1.2
|
||||||
|
validate 5.1.0.dev0
|
||||||
validate-pyproject 0.9
|
validate-pyproject 0.9
|
||||||
vrms-arch 1.0
|
vrms-arch 1.0
|
||||||
wcwidth 0.2.5
|
wcwidth 0.2.5
|
||||||
|
|
@ -199,5 +210,12 @@ wheel 0.37.1
|
||||||
wik 1.1.0
|
wik 1.1.0
|
||||||
xmltodict 0.12.0
|
xmltodict 0.12.0
|
||||||
yq 3.1.0
|
yq 3.1.0
|
||||||
yt-dlp 2022.8.19
|
yt-dlp 2022.9.1
|
||||||
zipp 3.8.1
|
zipp 3.8.1
|
||||||
|
zope.component 5.0.1
|
||||||
|
zope.deferredimport 4.4
|
||||||
|
zope.deprecation 4.4.0
|
||||||
|
zope.event 4.5.0
|
||||||
|
zope.hookable 5.1.0
|
||||||
|
zope.interface 5.4.0
|
||||||
|
zope.proxy 4.5.0
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,13 @@
|
||||||
|
|
||||||
# makelist creates a list of current packages, removes the second field (version numbers), and replaces all the new lines with spaces and then writes it to a file called my_packages.txt, you can more or less copy and paste this list into pacman -S to re-download all your files, useful if you need to start from scratch. Needs a script eventually to query aur_packages directory for packages downloaded directly from AUR and not Artix repositories.
|
# makelist creates a list of current packages, removes the second field (version numbers), and replaces all the new lines with spaces and then writes it to a file called my_packages.txt, you can more or less copy and paste this list into pacman -S to re-download all your files, useful if you need to start from scratch. Needs a script eventually to query aur_packages directory for packages downloaded directly from AUR and not Artix repositories.
|
||||||
|
|
||||||
pacman -Q | awk '!($2="")' | tr '\n' ' ' > my_packages.txt
|
pacman -Q | awk '!($2="")' | tr '\n' ' ' > my_pacman_packages.txt
|
||||||
npm list -g > my_npm_packages.txt
|
npm list -g > my_npm_packages.txt
|
||||||
pip list > my_pip_packages.txt
|
pip list > my_pip_packages.txt
|
||||||
go list ... > my_go_packages.txt
|
go list ... > my_go_packages.txt
|
||||||
|
|
||||||
|
find /usr/bin | sed -r 's/^\/usr\/bin\///g' | tr '\n' ' ' > my_binaries.txt
|
||||||
|
|
||||||
# currently empty...
|
# currently empty...
|
||||||
# cargo install -- list > my_cargo_packages.txt
|
# cargo install -- list > my_cargo_packages.txt
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,12 @@
|
||||||
|
|
||||||
# makelist creates a list of current packages, removes the second field (version numbers), and replaces all the new lines with spaces and then writes it to a file called my_packages.txt, you can more or less copy and paste this list into pacman -S to re-download all your files, useful if you need to start from scratch. Needs a script eventually to query aur_packages directory for packages downloaded directly from AUR and not Artix repositories.
|
# makelist creates a list of current packages, removes the second field (version numbers), and replaces all the new lines with spaces and then writes it to a file called my_packages.txt, you can more or less copy and paste this list into pacman -S to re-download all your files, useful if you need to start from scratch. Needs a script eventually to query aur_packages directory for packages downloaded directly from AUR and not Artix repositories.
|
||||||
|
|
||||||
pacman -Q | awk '!($2="")' | tr '\n' ' ' >> my_packages_laptop.txt
|
pacman -Q | awk '!($2="")' | tr '\n' ' ' >> my_pacman_packages_laptop.txt
|
||||||
|
npm list -g > my_npm_packages_laptop.txt
|
||||||
|
pip list > my_pip_packages_laptop.txt
|
||||||
|
go list ... > my_go_packages_laptop.txt
|
||||||
|
|
||||||
|
find /usr/bin | sed -r 's/^\/usr\/bin\///g' | tr '\n' ' ' > my_binaries_laptop.txt
|
||||||
|
|
||||||
# can be used in conjunction with xargs to reinstall all packages:
|
# can be used in conjunction with xargs to reinstall all packages:
|
||||||
# cat my_packages_laptop.txt | sudo xargs pacman -S
|
# cat my_packages_laptop.txt | sudo xargs pacman -S
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue