BSDTAR vs TAR This site pretty much sums it up really well: http://unix.stackexchange.com/questions/101561/what-are-the-differences-between-bsdtar-and-gnu-tar Note that tar has the ability to use -a or autocompress. In some versions of bsdtar you also get -a.Read More…
Everything on DOTGLOB and * – selecting hidden files or not (default is not)
When working with the key * with BASH, becareful. And simply try to avoid it when you can. * usually does not select hidden files. Unless you tell it other wise withRead More…
LINUX – Find Largest Files and directories – DU and FIND
Find Largest Files and directories ### CHEATSHEET ALL OF THESE OPERATE INTO CURRENT DIRECTORY: ### # One command, one liner per line. du -a . | sort -n -r | head -nRead More…
Linux “Sort” cant sort by human readable sizes – here is a fix – sorting with human readable sizes script
I got it from Nixcraft article here, so here is the source: http://www.cyberciti.biz/faq/how-do-i-find-the-largest-filesdirectories-on-a-linuxunixbsd-filesystem/ I mention this method in finding largest files articles (also sourced from above link): Largest Files It looks like this: forRead More…
ping-targets – monitor pinging multiple targets one after the other
Monitor pinging multiple targets using the below script (sends 4 pings to each target, one after the other). read the comments for more details (how the output looks like etc.) Make theRead More…
useful du aliases – disk usage aliases – for linux
alias dud='du -chd 1' alias dud2='du -chd 2' alias dud3='du -chd 3' alias dud4='du -chd 4' alias duds='du -chd 1 | sort -h' alias duds2='du -chd 2 | sort -h' alias duds3='duRead More…
To monitor a log that gets truncated
To monitor a log that gets truncated ############################## This is how to monitor a log that keeps getting truncated (shrunk when it reaches a certain size). You can roll over its outputRead More…
RENAME – perlrex program – Renaming Movies – Example 1 – converting/fixing filenames article
Rename – perlrex program – Renaming Movies – example 1 ############################################### NOTE: these are not my movies. Just helping a friend out with renames, and thought it would be nice for an articleRead More…
dir diff – ddiff & ddiffq – see if directories same with md5
I got my resource completely through here: http://www.commandlinefu.com/commands/view/12626/diff-two-directories-by-finding-and-comparing-the-md5-checksums-of-their-contents. First you need md5deep and sort (which comes with every linux, just not the md5deep program): apt-get update; apt-get install md5deep; Which says toRead More…
Plex Plugins & Unsupported AppStore Plugin & Plex-Duplicates/Plexdoops
Random sections of plex info. Info on plugins Plex installs its plugins to a folder, plugins show up as channels within your Media Manager https://support.plex.tv/hc/en-us/articles/201106098-How-do-I-find-the-Plug-Ins-folder- https://support.plex.tv/hc/en-us/articles/201187656-How-do-I-manually-install-a-channel- To ensure correct install of plugin:Read More…