Add 'Remove Windows System Files'

master
lucid 2 years ago
parent
commit
6142cc2d79
1 changed files with 17 additions and 0 deletions
  1. +17
    -0
      Remove-Windows-System-Files.md

+ 17
- 0
Remove-Windows-System-Files.md

@ -0,0 +1,17 @@
Locating files:
This will look for files that have the exact string in the name and print them out into the terminal. Probably can just redirect these location dumps to individual text files and later process them automatically with vim.
```bash
fzf -e -f [query] > [text file]
```
Linux script:
Files necessary for windows update will be backed up for testing to see if updates can be applied retroactively. The files can either be left in place or copied out to another directory and preserve the original folder structure. I think they should be left in place so less work has to be done in the script to move them back into place. The file extension can be used as a switch to effectively enable and disable the files.
```bash
#!/bin/bash
mv my/file/that/has/a/really/long/path/foo.{bar,baz}
```

Loading…
Cancel
Save