Check These Out
To replace foo by bar, but not execute, do ^foo^bar^:p
To replace all foo by bar, but not execute, do ^foo^bar^:&:p
It's the rename-tool from debians perl-package.
If the username includes an @ you can use this one:
wget -r --user=username_here --password=pass_here ftp://ftp.example.com
A quick find command to identify all TAR files in a given path, extract a list of files contained within the tar, then search for a given string in the filelist. Returns to the user as a list of TAR files found (enclosed in []) followed by any matching files that exist in that archive. TAR can easily be swapped for JAR if required.
This command enables the user to append a search pattern on the command line when using less as the PAGER. This is especially convenient (as the example shows) in compressed files and when searching man pages (substituting the zcat command with man, however).
This saves Subversion's log output as XML and then runs an XQuery over it. This is standard XQuery 1.0 and should therefore also work with other XQuery processors. I have tested it with Zorba (http://www.zorba-xquery.com). XQilla (http://xqilla.sourceforge.net) also does it, but you'd have to save the query to a file and then execute "xqilla filename.xq".
The query first finds all distinct authors and then, for each author, sums up the number of paths they have changed in each commit. This accounts for commits of multiple changes at once.
The indenting space in all lines from the second one seems to be due to a bug in Zorba.
create and md5 sum of your password without it showing up in your terminal or history.
Afterwards we overwrite the $p variable (thx to bazzargh)
?mirror : turn on options suitable for mirroring.
-p : download all files that are necessary to properly display a given HTML page.
?convert-links : after the download, convert the links in document for local viewing.
-P ./LOCAL-DIR : save all the files and directories to the specified directory.