Commit Graph

312 Commits (05ba2ac9779a14bcb0c97e59f1a40856b44b4436)

Author SHA1 Message Date
Pierre Neidhardt 19c09febec Scripts: replaced 'sed -i' with 'ex -sc'
Ex is the right way to edit files (sed is a stream editor). Besides 'sed -i' is
not POSIX.  However ex cannot edit multiple files in one call, thus leading to a
great performance loss when called over a bunch of files. In that case, 'sed -i'
may be a better idea.
2014-01-06 17:32:13 +01:00
Pierre Neidhardt b01f4a5888 replace: doc update 2014-01-06 15:24:31 +01:00
Pierre Neidhardt 764203fcc2 replace: regex expansion does not happen anymore 2014-01-06 15:19:17 +01:00
Pierre Neidhardt 49991d8c7b prettyc: fixed help message 2014-01-06 15:18:18 +01:00
Pierre Neidhardt f1db07acb1 trc: help message 2014-01-06 15:17:56 +01:00
Pierre Neidhardt 95ded549bb Scripts: removed .pacman-init and renamed pacman-files 2014-01-06 12:07:41 +01:00
Pierre Neidhardt 83136ad8d5 Scripts: new 'replace' script 2014-01-06 11:25:21 +01:00
Pierre Neidhardt c6bfd146d7 Scripts: removed useless functions in stdin/files scripts 2014-01-06 11:24:43 +01:00
Pierre Neidhardt 25a49b7661 dwb+transmission torrent settings 2014-01-06 10:55:10 +01:00
Pierre Neidhardt 2c258b7c39 trc: transmission wrapper for remote and remote-cli 2014-01-04 20:33:49 +01:00
Pierre Neidhardt b28bab8a4a dwb: using contenthandler+transmission for magnet links 2014-01-04 15:08:56 +01:00
Pierre Neidhardt 474b5afe18 Scripts: minor fixes for net* scripts 2014-01-04 14:45:55 +01:00
Pierre Neidhardt a54942f07a Scripts: improved zsh compatibility in crun and tc-video 2014-01-04 10:37:47 +01:00
Pierre Neidhardt 9233dad745 Script+Shell: fixed and standardize PATH checking
We redirect stderr to NULL since POSIX says it may be used (no modern shell
seems to be using it).

If more than 1 program is checked for availability, we use a function.

Emacs snippet make it uniform.

Error message is output on stderr and is always the same.
2014-01-03 19:13:07 +01:00
Pierre Neidhardt 0d0e159010 hsync: minor optimization 2014-01-03 16:30:30 +01:00
Pierre Neidhardt 77e8a3ce70 hsync: major fixes
Removed syncing of identical files with the same path.
Files at the root are processed.
2014-01-03 15:46:23 +01:00
Pierre Neidhardt fd37b3afd0 hsync: improved performance, simpler code 2014-01-03 15:29:49 +01:00
Pierre Neidhardt e08fa28b0f Scripts: new 'random' script.
Interesting AWK code.
2014-01-03 14:33:14 +01:00
Pierre Neidhardt ea27693882 homeclean: fixed wiping 2013-12-30 02:20:45 +01:00
Pierre Neidhardt 6a2e523081 hsync: doc, big fixes, preview only 2013-12-29 11:45:45 +01:00
Pierre Neidhardt e26d226c95 homeclean: using set array, removed out-of-date content. 2013-12-29 10:37:22 +01:00
Pierre Neidhardt a149d41ad8 pacsize: fixed documentation 2013-12-29 10:17:17 +01:00
Pierre Neidhardt fbe8edddc6 Scripts: fixed realpath usage 2013-12-27 11:17:55 +01:00
Pierre Neidhardt 29c81a2641 tc-video-custom: fixed file processing 2013-12-27 11:17:38 +01:00
Pierre Neidhardt 43a590c63c hsync & dataindex: fixed 'find' usage 2013-12-27 11:16:50 +01:00
Pierre Neidhardt 8c7ebc520e mover: better file processing 2013-12-27 11:16:17 +01:00
Pierre Neidhardt b59686a75b pacsize: license, new name, doc 2013-12-24 13:24:58 +01:00
Pierre Neidhardt 90cd171faa pacman-size: .pacman-init embedded. 2013-12-24 12:21:44 +01:00
Pierre Neidhardt 47b35e6705 pacman-size: option to print total 2013-12-24 12:12:25 +01:00
Pierre Neidhardt 983d730633 pacman-size: using expac if available. 2013-12-24 11:29:49 +01:00
Pierre Neidhardt 28b53fe762 switchdriver: libcl fix 2013-12-24 09:24:27 +01:00
Pierre Neidhardt a93a7d34cf pacman-size: performance upgrade and sort-by-name option 2013-12-23 22:52:59 +01:00
Pierre Neidhardt f2300b1ce3 switchdriver: update for new catalyst 2013-12-22 19:03:45 +01:00
Pierre Neidhardt 446e901b20 xmodmap_usex: fixed ctrl-lock swap 2013-12-22 12:44:53 +01:00
Pierre Neidhardt 98c2b66bba tc-video-custom: fixed -e parameter 2013-12-09 14:49:26 +01:00
Pierre Neidhardt 3e2280e7b7 hdmi-switch: reduced time-out 2013-12-09 01:44:02 +01:00
Pierre Neidhardt cd1a947dd6 scripts: new rsync-preview script. 2013-12-05 17:37:34 +01:00
Pierre Neidhardt 1f8560ab50 tc-video-generic: doc update. 2013-11-29 14:17:49 +01:00
Pierre Neidhardt beac6ae85c Merge branch 'master' of bitbucket.org:/ambrevar/home-config 2013-11-29 00:12:35 +01:00
Pierre Neidhardt 3a295076d6 tc-video-generic: added support for container and codec options. 2013-11-29 00:12:06 +01:00
Pierre Neidhardt bd217da27e git-get: fixed help. 2013-11-28 15:10:57 +01:00
Pierre Neidhardt 4ceabe6cd9 tc-video-generic: fixed missing audio bitrate when input bitrate could not be retrieved 2013-11-26 21:21:58 +01:00
Pierre Neidhardt f1745c0a20 bsdman: support for section 2013-11-20 15:05:04 +01:00
Pierre Neidhardt d88b9505cf scripts: removed broken tc-audio-transcode and co.
Working on a much improved standalone program.
2013-11-14 23:59:06 +01:00
Pierre Neidhardt 08fec6982e Various fixes 2013-11-14 18:12:57 +01:00
Pierre Neidhardt 90a6b296c4 scripts: moved bb from shell functions and renamed to git-get.
Made more flexible btw.
2013-11-14 18:12:05 +01:00
Pierre Neidhardt 8124a519e0 scripts: moved cloncd from shell functions 2013-11-14 18:11:48 +01:00
Pierre Neidhardt e075d80bc8 scripts: moved pgex from shell function 2013-11-14 17:56:51 +01:00
Pierre Neidhardt ea47fb753c Scripts: renamed formatc to prettyc 2013-11-14 17:38:52 +01:00
Pierre Neidhardt 1313a4d1a4 scripts: moved netmap from shell function 2013-11-14 17:03:29 +01:00
Pierre Neidhardt efa41b8100 scripts: moved lsofstat from shell function 2013-11-14 17:01:56 +01:00
Pierre Neidhardt f41e120e70 scripts: moved cpuusage from shell function 2013-11-14 17:01:27 +01:00
Pierre Neidhardt 2bd86f8350 scripts: new renamelower, renameswap from shell functions.
Plus they have been made much more secure.
2013-11-14 16:43:59 +01:00
Pierre Neidhardt d2d2e958ed scripts: new script netspeed from shell function. 2013-11-14 16:43:26 +01:00
Pierre Neidhardt 2c2d6afe30 scripts: new bsdman script! 2013-11-14 13:19:14 +01:00
Pierre Neidhardt 9922810cf0 scripts: moved cutlines and echopath from shell functions to scripts. 2013-11-14 13:18:51 +01:00
Pierre Neidhardt 0b936fe2de echopath: created script from alias 2013-11-14 12:32:09 +01:00
Pierre Neidhardt 2b24f6d467 archive: support for multiple-archives output 2013-11-12 16:43:52 +01:00
Pierre Neidhardt c4045840bf hsync: removed old code 2013-11-12 13:41:44 +01:00
Pierre Neidhardt 2ca9e82109 hsync: renamed syncer to hsync, + a few bug fixes 2013-11-12 13:41:08 +01:00
Pierre Neidhardt 94a52fa46a Syncer: hierarchy syncing! 2013-11-12 13:09:02 +01:00
Pierre Neidhardt 0488ac38aa imagemount: bug fixes 2013-11-11 20:47:15 +01:00
Pierre Neidhardt ffabf69a48 imagemount: first (awesome) release 2013-11-11 19:40:11 +01:00
Pierre Neidhardt 503b1f42e0 Minor shell fixes 2013-11-05 20:25:26 +01:00
Pierre Neidhardt 21850855a6 Archive: support for uncompressed archive. 2013-11-04 15:44:26 +01:00
Pierre Neidhardt ccf39c4428 tc-video-generic: fixed wrong audio bitrate when it was >= 1000. 2013-11-01 20:34:07 +01:00
Pierre Neidhardt e0da10b159 Scripts: minor refactoring. 2013-11-01 20:33:17 +01:00
Pierre Neidhardt 56b40cb2e7 strip-comments: fixed classic mistake 2013-10-30 15:57:24 +01:00
Pierre Neidhardt 8111ebc7d0 pacman-*: better error handling 2013-10-29 21:49:48 +01:00
Pierre Neidhardt 090f80dc9f Shell: man pager bounded auto-justification 2013-10-29 15:21:28 +01:00
Pierre Neidhardt 0b71f5e5de tc-audio-trancode: proper variable substitution 2013-10-28 02:12:49 +01:00
Pierre Neidhardt 9582d19583 tc-audio-*: fixed major issues with filters.
Should be much more reliable now.
2013-10-27 22:49:31 +01:00
Pierre Neidhardt afe19d6021 tc-audio-transcode: embedded cover support + quality warning 2013-10-27 21:21:05 +01:00
Pierre Neidhardt c934c97d13 Scripts: rewrote all "command -v" properly. 2013-10-27 19:50:23 +01:00
Pierre Neidhardt 2853c75cc1 tc-video-generic: major bugfixes 2013-10-27 14:28:25 +01:00
Pierre Neidhardt 8fe2e0e303 tc-video-generic: mov support 2013-10-26 16:48:43 +02:00
Pierre Neidhardt 947d9d54bd tc-video-generic: fixed stacking video filters 2013-10-25 16:18:33 +02:00
Pierre Neidhardt cfdc675bbf Scripts: minor fixes 2013-10-25 13:44:07 +02:00
Pierre Neidhardt 0e23dc8de9 tc-video-generic: minor fixes 2013-10-24 22:03:35 +02:00
Pierre Neidhardt c38fab4a8e tc-video-generic: croping image preview! 2013-10-24 21:52:34 +02:00
Pierre Neidhardt 89d056f5b8 Scripts: minor fixes 2013-10-24 20:07:33 +02:00
Pierre Neidhardt 977f0a63bb archive: fixed security issue with eval 2013-10-24 19:20:32 +02:00
Pierre Neidhardt 2e38325bf4 tc-video-generic: minor fixes 2013-10-24 17:06:08 +02:00
Pierre Neidhardt f677bbf5ce tc-video-generic: audio bitrate is now fully dynamic! 2013-10-24 17:01:44 +02:00
Pierre Neidhardt bbfcc7633d tc-video-generic: dynamic audio bitrate almost done 2013-10-24 16:48:45 +02:00
Pierre Neidhardt 5836eb3586 tc-video-custom: various fixes 2013-10-23 20:15:15 +02:00
Pierre Neidhardt 78ac5b0dcc tc-text-scan: proper whiler 2013-10-23 20:15:04 +02:00
Pierre Neidhardt 4d5337a6a1 tc-audio-*: proper while read loops. 2013-10-23 20:14:09 +02:00
Pierre Neidhardt 7d556955f1 tc-video-generic: WIP 2013-10-23 20:11:42 +02:00
Pierre Neidhardt e089b4d41d tc-video-generic: dynamic audio bitrate (WIP) 2013-10-23 19:28:53 +02:00
Pierre Neidhardt c3852172fb scripts: protected all "while read" with IFS=.
By default "while read" will strip white space. Setting the IFS makes sure it does not.
2013-10-23 17:44:23 +02:00
Pierre Neidhardt 6455544fb5 extract: support for 7z password protected files.
As such, pp7z was removed.
2013-10-23 14:03:42 +02:00
Pierre Neidhardt 6ecc20a2f6 Emacs: minor fix 2013-10-23 12:51:09 +02:00
Pierre Neidhardt ba7abe9298 sanitize: multi input support. POSIX support. 2013-10-23 12:49:44 +02:00
Pierre Neidhardt d060d963cc prepend: stdin support 2013-10-23 12:37:56 +02:00
Pierre Neidhardt a78e34708b pkg: update 2013-10-23 12:31:24 +02:00
Pierre Neidhardt bd70d4dc06 pdfcompress: multiple input and overwriting support. 2013-10-23 12:29:16 +02:00
Pierre Neidhardt d9d48a3898 pkggen: POSIX version, removed the stupid code 2013-10-23 12:13:54 +02:00
Pierre Neidhardt 0b0feea15e scripts: minor fixes 2013-10-23 11:59:52 +02:00
Pierre Neidhardt 172ec5212d winefps: support for non-GNU systems 2013-10-23 11:56:42 +02:00