Created
August 16, 2023 18:40
-
-
Save hUwUtao/e9bec4b20956954774ec5b3f686cc540 to your computer and use it in GitHub Desktop.
Manual Genshin Update Patching: Cleanup unused files with busybox/msys2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/busybox ash | |
while read -r lin; do cat & rm -v "$lin"; done < <(cat deletefiles.txt | sed -r 's/ [a-z0-9@_-]+\\.target//;s/\\.service//g;s/ +/ /g;s/ /\\n/g' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment