User Tools

Site Tools


unixscripts:0-intro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unixscripts [2019/01/03 17:58] – [Photo scripts] adminunixscripts:0-intro [2020/10/17 03:06] (current) admin
Line 1: Line 1:
-===== Unix Scripts ===== +===== Unixscripts:intro ===== 
-I use these scripts every day, they might be useful to others. They might even be useful templates for how to write a [[DecentBash | decent bash script]]!! You can download them individually by clicking on the links or you can download this {{scripts.tgz | tarball}} to get them all. Install them somewhere on your path - I use ''~/bin''. All my scripts honour the //-h//, //--help// options.+I use these scripts every day, they might be useful to others. They might even be useful templates for how to write a [[unixscripts:3-decentbash| decent bash script]]!! You can download them individually by clicking on the links or you can download this {{:scripts.tgz | tarball}} to get them all. Install them somewhere on your path - I use ''~/bin''. All my scripts honour the //-h//, //--help// options.
 ==== libraries ==== ==== libraries ====
 These are used in my other scripts These are used in my other scripts
 ===argp.sh=== ===argp.sh===
-{{scripts:argp.sh|argp.sh}} - a wrapper around **getopt**(1) to make life much easier for script developers and more predictable for script users. See also [[argp.sh]]+{{scripts:argp.sh|argp.sh}} - a wrapper around **getopt**(1) to make life much easier for script developers and more predictable for script users. See also [[unixscripts:2-argp.sh]]
 ++++ usage for argp.sh | ++++ usage for argp.sh |
 {{page>usages:argp.sh&inline}} {{page>usages:argp.sh&inline}}
Line 10: Line 10:
 ===bh-stdlib=== ===bh-stdlib===
 {{scripts:bh-stdlib|bh-stdlib}} - generic functions {{scripts:bh-stdlib|bh-stdlib}} - generic functions
------ +===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 
 +{{page>usages:i3-ws.py&inline}} 
 +++++ 
  
-==== general scripts ==== 
-===backup-copy=== 
-{{scripts:backup-copy | backup-copy }} - my backup script - using this, I can keep a backup at a cost of only about 2Mb/day. Uses the hard-linking power of **rsync**(1) 
-++++ usage for backup-copy | 
-{{page>usages:backup-copy&inline}} 
-++++ 
-===ff=== 
-{{scripts:ff | ff }} - recursively find files (wrapper for **find**(1)) 
-++++ usage for ff | 
-{{page>usages:ff&inline}} 
-++++ 
-===fs=== 
-{{scripts:fs | fs }} - recursively search for patterns in files (wrapper for **find**(1) and **grep**(1)) 
-++++ usage for fs | 
-{{page>usages:fs&inline}} 
-++++ 
-===fit=== 
-{{scripts:fit | fit }} - fits a bunch of files/directories into CD or DVD sized subdirectories ready for burning  
-++++ usage for fit | 
-{{page>usages:fit&inline}} 
-++++ 
-===m=== 
-{{scripts:m | m }} - pretty display of man pages (needs '**v**' and a postscript or pdf viewer) eg ''m less'' to get a pretty man page for **less**(1) 
-++++ usage for m | 
-{{page>usages:m&inline}} 
-++++ 
-===mass-mv=== 
-{{scripts:mass-mv | mass-mv }} - renames and or moves files according to a regex; can also clean up filenames removing whitespace and/or weird characters 
-++++ usage for mass-mv | 
-{{page>usages:mass-mv&inline}} 
-++++ 
-===newest=== 
-{{scripts:newest | newest }} - recursively list files in directories in date order. If called as **oldest**, reverse the sort direction. If called as **biggest** or **smallest** list by file size. 
-++++ usage for newest | 
-{{page>usages:newest&inline}} 
-++++ 
-===r=== 
-{{scripts:r | r }} - run a command with sudo or popup a root xterm 
-++++ usage for r | 
-{{page>usages:r&inline}} 
-++++ 
-=== refactor === 
-{{scripts: refactor| refactor }} - uses **find**(1) and **sed**(1) to search and replace 
-++++ usage for refactor | 
-{{page>usages:refactor&inline}} 
-++++ 
-===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>usages:v&inline}} 
-++++ 
-===xcheck=== 
-{{scripts:xcheck | xcheck }} - runs a command (usually X) and shows stdout and stderr in a popup window if there's an error eg xcheck -- remote-x11vnc -x xdm 
-++++ usage for xcheck | 
-{{page>usages:xcheck&inline}} 
-++++ 
-/* 
-=== === 
-{{scripts: |  }} -  
-++++ usage for  | 
-{{page>usages:&inline}} 
-++++ 
-*/ 
unixscripts/0-intro.1546563536.txt.gz · Last modified: 2019/01/03 17:58 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki