mirror of
https://github.com/acedanger/work.git
synced 2025-12-05 22:30:13 -08:00
added TOC and info about python idle script
This commit is contained in:
11
README.md
11
README.md
@@ -1,5 +1,10 @@
|
|||||||
# Useful code
|
# Useful code
|
||||||
|
|
||||||
|
- [Useful code](#useful-code)
|
||||||
|
- [CSV to XLSX](#csv-to-xlsx)
|
||||||
|
- [Keep Only X Days](#keep-only-x-days)
|
||||||
|
- [Stop computer from going idle](#stop-computer-from-going-idle)
|
||||||
|
|
||||||
## CSV to XLSX
|
## CSV to XLSX
|
||||||
|
|
||||||
`PowerShell` script to convert any CSVs found in directory that were created today -
|
`PowerShell` script to convert any CSVs found in directory that were created today -
|
||||||
@@ -10,7 +15,10 @@
|
|||||||
|
|
||||||
## Keep Only X Days
|
## Keep Only X Days
|
||||||
|
|
||||||
|
`PowerShell` script to delete objects in the directory/subdirectory specified that are older than `NumDays`.
|
||||||
|
|
||||||
Accepts 2 arguments
|
Accepts 2 arguments
|
||||||
|
|
||||||
- `NumDays`
|
- `NumDays`
|
||||||
- integer
|
- integer
|
||||||
- default is `90`
|
- default is `90`
|
||||||
@@ -18,5 +26,6 @@ Accepts 2 arguments
|
|||||||
- boolean
|
- boolean
|
||||||
- default is `false`
|
- default is `false`
|
||||||
|
|
||||||
`PowerShell` script to delete objects in the directory/subdirectory specified that are older than `NumDays`.
|
## Stop computer from going idle
|
||||||
|
|
||||||
|
`Python` script to top computer from going idle.
|
||||||
|
|||||||
Reference in New Issue
Block a user