Generate a folder with subfolders for each package managed by pacman containing symlinks to all files belonging to that package.
cd $(mktemp -d) wget https://github.com/zvynar/pacfolder/raw/master/PKGBUILD makepkg sudo pacman -U *.pkg.tar.xz
This will make a new folder /apps/ and put one folder for each package inside it. Each of these folders gets filled with sumbolic links to the files belonging to that package! Files in typical folders like /etc/ or /usr/bin/ will be put into sub-folders like /apps/[package-name]/config or /apps/[package-name]/binaries ect.. Files that can not be catigoriced go to /apps/[package-name]/misc.