unixscripts:0-intro
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
unixscripts [2019/01/03 17:57] – [libraries] admin | unixscripts:0-intro [2020/10/17 03:04] – ↷ Links adapted because of a move operation admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
===== Unix Scripts ===== | ===== Unix Scripts ===== | ||
- | I use these scripts every day, they might be useful to others. They might even be useful templates for how to write a [[DecentBash | + | I use these scripts every day, they might be useful to others. They might even be useful templates for how to write a [[unixscripts: |
==== libraries ==== | ==== libraries ==== | ||
These are used in my other scripts | These are used in my other scripts | ||
===argp.sh=== | ===argp.sh=== | ||
- | {{scripts: | + | {{scripts: |
++++ usage for argp.sh | | ++++ usage for argp.sh | | ||
{{page> | {{page> | ||
Line 10: | Line 10: | ||
===bh-stdlib=== | ===bh-stdlib=== | ||
{{scripts: | {{scripts: | ||
- | ----- | + | ===i3-ws.py=== |
- | [[unixscripts-fluxbox|unixscripts-fluxbox]] | + | {{scripts:i3-ws.py | i3-ws.py }} - various i3wm workspace manipulations |
- | [[unixscripts-photos|unixscripts-photos]] | + | ++++ usage for i3-ws.py | |
- | ====Photo scripts==== | + | {{page> |
- | Generally, these are required **jhead**(1), | + | |
- | ===erect-jpeg=== | + | |
- | {{scripts:erect-jpeg | erect-jpeg }} - rotate a photo so that it displays correctly by examining the Orientation Exim information in the file. Uses **xargs**(1) to parallelise operations to as many CPUs as it can find. | + | |
- | ++++ usage for label-photos | + | |
- | {{page> | + | |
- | ++++ | + | |
- | ===label-photos=== | + | |
- | {{scripts: | + | |
- | ++++ usage for label-photos | | + | |
- | {{page> | + | |
- | ++++ | + | |
- | ===rename-jpeg-by-date=== | + | |
- | {{scripts: | + | |
- | ++++ usage for rename-jpeg-by-date | | + | |
- | {{page> | + | |
- | ++++ | + | |
- | === resize-jpeg === | + | |
- | {{scripts: resize-jpeg| resize-jpeg }} - size a jpeg so that the longest side is the required number of pixels and the other side is scaled. | + | |
- | ++++ usage for resize-jpeg | + | |
- | {{page> | + | |
- | ++++ | + | |
- | === shrink-jpeg === | + | |
- | {{scripts: | + | |
- | ++++ usage for shrink-jpeg | | + | |
- | {{page> | + | |
++++ | ++++ | ||
----- | ----- | ||
+ | * [[unixscripts: | ||
+ | * [[unixscripts: | ||
+ | * [[unixscripts: | ||
- | ==== general scripts ==== | ||
- | ===backup-copy=== | ||
- | {{scripts: | ||
- | ++++ usage for backup-copy | | ||
- | {{page> | ||
- | ++++ | ||
- | ===ff=== | ||
- | {{scripts: | ||
- | ++++ usage for ff | | ||
- | {{page> | ||
- | ++++ | ||
- | ===fs=== | ||
- | {{scripts: | ||
- | ++++ usage for fs | | ||
- | {{page> | ||
- | ++++ | ||
- | ===fit=== | ||
- | {{scripts: | ||
- | ++++ usage for fit | | ||
- | {{page> | ||
- | ++++ | ||
- | ===m=== | ||
- | {{scripts:m | m }} - pretty display of man pages (needs ' | ||
- | ++++ usage for m | | ||
- | {{page> | ||
- | ++++ | ||
- | ===mass-mv=== | ||
- | {{scripts: | ||
- | ++++ usage for mass-mv | | ||
- | {{page> | ||
- | ++++ | ||
- | ===newest=== | ||
- | {{scripts: | ||
- | ++++ usage for newest | | ||
- | {{page> | ||
- | ++++ | ||
- | ===r=== | ||
- | {{scripts:r | r }} - run a command with sudo or popup a root xterm | ||
- | ++++ usage for r | | ||
- | {{page> | ||
- | ++++ | ||
- | === refactor === | ||
- | {{scripts: refactor| refactor }} - uses **find**(1) and **sed**(1) to search and replace | ||
- | ++++ usage for refactor | | ||
- | {{page> | ||
- | ++++ | ||
- | ===v=== | ||
- | {{scripts:v | v }} - view or execute any type of file going rather beyond the scope of **lessopen** - in the simple case of a text file this is just shorthand for **less**(1) | ||
- | ++++ usage for v | | ||
- | {{page> | ||
- | ++++ | ||
- | ===xcheck=== | ||
- | {{scripts: | ||
- | ++++ usage for xcheck | | ||
- | {{page> | ||
- | ++++ | ||
- | /* | ||
- | === === | ||
- | {{scripts: | }} - | ||
- | ++++ usage for | | ||
- | {{page> | ||
- | ++++ | ||
- | */ |
unixscripts/0-intro.txt · Last modified: 2020/10/17 03:06 by admin