apevillax.blogg.se

Wiki offline backup
Wiki offline backup








wiki offline backup wiki offline backup
  1. #Wiki offline backup install
  2. #Wiki offline backup free

Then, when using pacreport -unowned-files as the root user, any unowned files will be listed if the associated package is no longer installed (or if any new files have been created).Īdditionally, aconfmgr ( aconfmgr-git AUR) allows tracking modified and orphaned files using a configuration script. Update-mime-database = usr/share/mime/magic IgnoreUnowned = usr/share/applications/mimeinfo.cacheĬa-certificates = etc/ca-certificates/trust-source/* Pacreport from pacutils can be used to track these files and their associations via /etc/nf (see pacreport(1) § FILES).Īn example may look something like this (abridged): Most systems will slowly collect several ghost files such as state files, logs, indexes, etc. Tracking unowned files created by packages Tip: The lostfiles script performs similar steps, but also includes an extensive blacklist to remove common false positives from the output. # find /etc /usr /opt | LC_ALL=C pacman -Qqo - 2>&1 >&- >/dev/null | cut -d ' ' -f 5. One method is to use pacreport -unowned-files as the root user from pacutils which will list unowned files among other details.Īnother is to list all files of interest and check them against pacman:

#Wiki offline backup install

If your system has stray files not owned by any package (a common case if you do not use the package manager to install software), you may want to find such files in order to clean them up. $ pacman -Qlq package | grep -v '/$' | xargs -r du -h | sort -h This one might come in handy if you have found that a specific package uses a huge amount of space and you want to find out which files make up the most of that. Listing files owned by a package with size The navigational keybindings are the same, although Enter will not work in the same way. $ LC_ALL=C pacman -Qi | awk '/^Name/' -layout=reverse The following command will list all installed packages and their individual sizes: There are two options here: get the size of individual packages, or get the size of packages and their dependencies.

#Wiki offline backup free

  • List packages by regex with custom output format (needs expac): expac -s "%-30n %v" regex.įiguring out which packages are largest can be useful when trying to free space on your hard drive.
  • List packages by regex: pacman -Qs regex.
  • present in the sync database) that are not direct or optional dependencies: pacman -Qent.
  • List all explicitly installed native packages (i.e.
  • List all native packages (installed from the sync database): pacman -Qn.
  • List all foreign packages (typically manually downloaded and installed or packages removed from the repositories): pacman -Qm.
  • List all packages in the package group named group: pacman -Sg group.
  • List all explicitly installed packages: pacman -Qe.
  • You may want to get the list of installed packages with their version, which is useful when reporting bugs or discussing installed packages. Note: Instead of using comm (which requires sorted input with sort) in the sections below, you may also use grep -Fxf or grep -Fxvf.










    Wiki offline backup