gunqqer

Untitled

Oct 10th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. 1 #!/bin/bash
  2. 2 DataPath="/home/gunqqer/.steam/steam/steamapps/common/Skyrim/Data"
  3. 3 WorkshopPath="/home/gunqqer/.steam/steam/steamapps/workshop/content/72850"
  4. 4 cd "$WorkshopPath"
  5. 5 find . -type f | sed -e "/\.bin$/d" -e "/\.jpg$/d" > ~/tmp/Skyrim/ModList.tmp
  6. 6 diff ~/tmp/Skyrim/ModList ~/tmp/Skyrim/ModList.tmp
  7. 7 while read -r LINE; do
  8. 8 cp --no-clobber "$LINE" "$DataPath"
  9. 9 done < ~/tmp/Skyrim/ModList.tmp
  10. 10 cp ~/tmp/Skyrim/ModList.tmp ~/tmp/Skyrim/ModList
  11. 11
Advertisement
Add Comment
Please, Sign In to add comment