+ ConvertTo-Zip, originally created to mass convert CBRs to CBZs
It will only be avilable when 7-zip is available (7z executable)
Features: Shows progress, can work recursively (preserving folder
structure), knows to move completed files.
+ Show-Progress: Shorthand for common progress related output
manipulation (calculation of completion based on time, or item count,
and verbose output if needeed)
+ ConvertFrom-TimeSpan: string output from timespan, used by
Show-Progress
+ Get-Path updated to be more efficient (no need for exception handling)
+ PathProcessingFunctions loads a utility function GetShellSafePath
* Repair-Permissions added some status reporting
All dc... commands are now based on Invoke-DockerCompose.
dco is aliased to Invoke-DockerCompose.
dco_ is aliased to the docker-compose binary.
'&' and '!' shorthand introduced to dco to execut in bg as job and wait
for all bg jobs to complete respectively.
Get-Path updated to support @ notation.
MyConfig class updated to resolve Paths before testing.
MyScript class will look recursivley - this might need to change again.
config.files.json updated to support shell-loading-snippets
shell-loading-snippets added, with single line of code to inject into
startup shell scripts (.zshrc, .bashrc, .shrc)
Major Overhaul with Breaking Changes
split into packaged, default behavior moved into 'base' package
each package has a json package description file with criteria for
loading
Modified Setup-Profile to refer to 'base' package path for auto loading
moved Linux aliases and command to 'base.linux' package
created 'docker' package to address docker supported systems
modified Get-MyScripts, Edit-MyScripts and Reload-MyScripts accordingly.
Dropped -System and sys.*, package json conditions will take care of it.
Supplied command to create/edit package json files:
- New-MyPackage
- Add-PackageCondition
- Set-MyPackage
Major Overhaul with Breaking Changes
split into packaged, default behavior moved into 'base' package
each package has a json package description file with criteria for
loading
Modified Setup-Profile to refer to 'base' package path for auto loading
moved Linux aliases and command to 'base.linux' package
created 'docker' package to address docker supported systems
modified Get-MyScripts, Edit-MyScripts and Reload-MyScripts accordingly.
Dropped -System and sys.*, package json conditions will take care of it.
Supplied command to create/edit package json files:
- New-MyPackage
- Add-PackageCondition
- Set-MyPackage
Export-FunctionSource to handle Filters and scripts + following Aliases.
Edit-DockerCompose will allow editing of additional files next to the
default docker-compose files.
dcc, dcdown and dcup to work with ProjectPath parameter.
Added ssh.conf to the config.files.json dictionary.
Edit-MyScript will pause if edit is running in background (conext
returning less than a second after launching editor)
Test-MyModules which loads at stratup now has specific platform lists
Moved configuration into src/config.files.json, it will also load
src/config.files.local.json (which will not be included in the git repo)
Added Git-Path to resolve paths simply, even when Path does not exist.
dps is now an Alias to Get-DockerProcess
Get-DockerProcess has been cleaned up and search features added to it.
Added FromPowerShellCookbook, which loads a piece of code from the
module, but does not load the entire module.
MyConfig now includes ansible and tmux configs, also added -sudo switch
Get-PlexInfo added, with ability to read directly from Server
Invoke-ViaAnsible modified - cleaned up output
Added -Force to Edit-DockerCompose
dcc modified to read from raw log (which allows filtering by source, and
has timestamps)
Docker and Docker-Compose commands and aliases:
- dco: docker-compose
- dcc: docker-compose config
- dcedit/vidc/Edit-DockerCompose:
edit docker-compose.yml and satellite files
- dcdown.ps1
- dl/dll/dcl/dcll:
view docker/docker-compose logs
l : follow
ll : just list
- dx/dcx: docker / docker-compose exec
- dcdown: docker-compose down
- dcup: docker-compose up
- dcr: docker-compose run
- dcre: docker-compose restart
- dcreup: docker-compose up with force recreate
- di: docker inspect
A bunch of other aliases and tools:
- l/ll - shortcuts for ls -la
- Edit-MyConfig with MyConfig.class: Edit various configuration files
- Update-ArchOSz: my common update params for Arch all ready to run
- Update-UbuntuOSz: my common update params for Ubuntu all ready to run
- sz-df - a ps stylized df
- sz-du - what's the size of a dir
- sys.Linux/ls - a Linux specific ls (with all required configuration)
Works in progress (not completely tested yet):
- Stop-ProcessTree
- Update-OSz.ps1
- src/smartsudo.inc.ps1
Reload-MyScripts modified to check for past aliases that might block it
from working.
Aliases dir created with some basic aliases
Invoke-Sudo to make sudo command line calling simpler.