Check These Out
This command is a more flexible than my previous submission.
It will work with spaces however suuuuper hacky and ugly.
Source: http://www.unix.com/shell-programming-scripting/146173-find-rename-files-using-find-mv-sed.html
Rebuild flv files that are broken (can't seek). This method probably works for other video/audio formats that can become broken in the same way.
cdrecord -scanbus will tell you the (x,y,z) value of your cdr (for example, mine is 3,0,0)
swap out "80" for your port of interest. Can use port number or named ports e.g. "http"
Installs pip packages defining a proxy
-depth argument will cause find to do a "depth first" tree search, this will eliminate the "No such file or directory" error messages
You might want to secure your AWS operations requiring to use a MFA token. But then to use API or tools, you need to pass credentials generated with a MFA token.
This commands asks you for the MFA code and retrieves these credentials using AWS Cli. To print the exports, you can use:
`awk '{ print "export AWS_ACCESS_KEY_ID=\"" $1 "\"\n" "export AWS_SECRET_ACCESS_KEY=\"" $2 "\"\n" "export AWS_SESSION_TOKEN=\"" $3 "\"" }'`
You must adapt the command line to include:
* $MFA_IDis ARN of the virtual MFA or serial number of the physical one
* TTL for the credentials
Opens a list of files in a text editor. Using Vim as your default editor allows you to use the power of regex substitution and visual block mode to batch rename files.
Found in the renameutils package
sudo apt-get install renameutils
This is an example of the usage of pdfnup (you can find it in the 'pdfjam' package). With this command you can save ink/toner and paper (and thus trees!) when you print a pdf.
This tools are very configurable, and you can make also 2x2, 3x2, 2x3 layouts, and more (the limit is your fantasy and the resolution of the printer :-)
You must have installed pdfjam, pdflatex, and the LaTeX pdfpages package in your box.