readded udpated scripts directory
This commit is contained in:
parent
cd053a412a
commit
f3117c81d9
84 changed files with 3210 additions and 0 deletions
8
scripts/makelist_laptop
Executable file
8
scripts/makelist_laptop
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
# 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
|
||||
|
||||
# can be used in conjunction with xargs to reinstall all packages:
|
||||
# cat my_packages_laptop.txt | sudo xargs pacman -S
|
||||
Loading…
Add table
Add a link
Reference in a new issue