<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 12:17:14 +0000</lastBuildDate>
    <item>
      <title>(Other) Replace spaces with hyphens in Mac file names - flatearthcomms</title>
      <link>https://snipplr.com/view/75070/replace-spaces-with-hyphens-in-mac-file-names</link>
      <description>&lt;p&gt;cd to directory, then run the line below to change any spaces in a filename to hyphens&lt;/p&gt;</description>
      <pubDate>Wed, 09 Jul 2014 00:33:48 UTC</pubDate>
      <guid>https://snipplr.com/view/75070/replace-spaces-with-hyphens-in-mac-file-names</guid>
    </item>
    <item>
      <title>(Bash) unix-cron-pptp-restart - dbiesecke</title>
      <link>https://snipplr.com/view/74924/unixcronpptprestart</link>
      <description>&lt;p&gt;make a cron like: &#13;
&#13;
   `*/5 *   * * *   root    bash /root/vpn-check.sh`&lt;/p&gt;</description>
      <pubDate>Sun, 22 Jun 2014 22:44:13 UTC</pubDate>
      <guid>https://snipplr.com/view/74924/unixcronpptprestart</guid>
    </item>
    <item>
      <title>(Other) Zip all files in a directory files into separate archives - flatearthcomms</title>
      <link>https://snipplr.com/view/74588/zip-all-files-in-a-directory-files-into-separate-archives</link>
      <description>&lt;p&gt;Zip all files in a directory files into separate archives&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2014 00:53:36 UTC</pubDate>
      <guid>https://snipplr.com/view/74588/zip-all-files-in-a-directory-files-into-separate-archives</guid>
    </item>
    <item>
      <title>(Other) Set up a .git repository using terminal - flatearthcomms</title>
      <link>https://snipplr.com/view/74587/set-up-a-git-repository-using-terminal</link>
      <description>&lt;p&gt;Set up a .git repository using terminal&lt;/p&gt;</description>
      <pubDate>Sat, 17 May 2014 00:46:03 UTC</pubDate>
      <guid>https://snipplr.com/view/74587/set-up-a-git-repository-using-terminal</guid>
    </item>
    <item>
      <title>(Bash) transparently download from google-drive with command line - cinco</title>
      <link>https://snipplr.com/view/72534/transparently-download-from-googledrive-with-command-line</link>
      <description>&lt;p&gt;transparently download from google-drive with command line&lt;/p&gt;</description>
      <pubDate>Fri, 04 Oct 2013 23:59:25 UTC</pubDate>
      <guid>https://snipplr.com/view/72534/transparently-download-from-googledrive-with-command-line</guid>
    </item>
    <item>
      <title>(Bash) Remove .ds_store files - Haerviu</title>
      <link>https://snipplr.com/view/72032/remove-dsstore-files</link>
      <description>&lt;p&gt;DS_Store files are automatically created by Mac OSX Finder in browsed directories. These files contain information about system configuration. If you upload them along with other files, the files can be misused to obtain information about your computer.&lt;/p&gt;</description>
      <pubDate>Sun, 04 Aug 2013 01:05:20 UTC</pubDate>
      <guid>https://snipplr.com/view/72032/remove-dsstore-files</guid>
    </item>
    <item>
      <title>(Bash) Create vHost with user and MySQL database - derbenni</title>
      <link>https://snipplr.com/view/71919/create-vhost-with-user-and-mysql-database</link>
      <description>&lt;p&gt;With this script a new user gets created and gets his own VirtualHost and database. The username is used for building the domain, so the username "test" leads to the domain test.local.&#13;
&#13;
The password for the MySQL account used for creating the database has to be filled in for the script to work. Also the script has to be run by root.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Jul 2013 05:15:41 UTC</pubDate>
      <guid>https://snipplr.com/view/71919/create-vhost-with-user-and-mysql-database</guid>
    </item>
    <item>
      <title>(Bash) Batch file content replace from template.php - zlincoln</title>
      <link>https://snipplr.com/view/67411/batch-file-content-replace-from-templatephp</link>
      <description>&lt;p&gt;Find and replace contents of files ending in .php with nothing.  then append contents of template.php to all files in directory&lt;/p&gt;</description>
      <pubDate>Thu, 27 Sep 2012 23:32:33 UTC</pubDate>
      <guid>https://snipplr.com/view/67411/batch-file-content-replace-from-templatephp</guid>
    </item>
    <item>
      <title>(Bash) Correct Number of Parameters - triffel</title>
      <link>https://snipplr.com/view/66589/correct-number-of-parameters</link>
      <description>&lt;p&gt;Tests whether the script has been invoked with the correct number of parameters.&lt;/p&gt;</description>
      <pubDate>Wed, 08 Aug 2012 07:54:27 UTC</pubDate>
      <guid>https://snipplr.com/view/66589/correct-number-of-parameters</guid>
    </item>
    <item>
      <title>(Bash) Simple cURL example - beneberle</title>
      <link>https://snipplr.com/view/63704/simple-curl-example</link>
      <description>&lt;p&gt;This example will go get the latest version of wordpress and save it as "wordpress-latest.tar.gz" in the current directory. Note, don't include the protocal (http://) in the url.&lt;/p&gt;</description>
      <pubDate>Sun, 04 Mar 2012 02:36:26 UTC</pubDate>
      <guid>https://snipplr.com/view/63704/simple-curl-example</guid>
    </item>
    <item>
      <title>(Bash) List out all your Zombie processes - kajinka13</title>
      <link>https://snipplr.com/view/63036/list-out-all-your-zombie-processes</link>
      <description>&lt;p&gt;List out all your Zombie processes&lt;/p&gt;</description>
      <pubDate>Fri, 03 Feb 2012 22:22:26 UTC</pubDate>
      <guid>https://snipplr.com/view/63036/list-out-all-your-zombie-processes</guid>
    </item>
    <item>
      <title>(Bash) List files with details - klovera</title>
      <link>https://snipplr.com/view/62946/list-files-with-details</link>
      <description>&lt;p&gt;List files in varying detail&lt;/p&gt;</description>
      <pubDate>Wed, 01 Feb 2012 02:30:21 UTC</pubDate>
      <guid>https://snipplr.com/view/62946/list-files-with-details</guid>
    </item>
    <item>
      <title>(Bash) Batch remove whitespace in all the files in directory and replace with a dash "-" - licensetoil</title>
      <link>https://snipplr.com/view/62828/batch-remove-whitespace-in-all-the-files-in-directory-and-replace-with-a-dash-</link>
      <description>&lt;p&gt;Add this to your .profile or .bash_rc file, source the file, navigate to the directory and call "rm_whitespace"&#13;
&#13;
Based on: http://snipplr.com/view/4468/batch-rename-files-in-directory/&lt;/p&gt;</description>
      <pubDate>Sat, 28 Jan 2012 17:42:18 UTC</pubDate>
      <guid>https://snipplr.com/view/62828/batch-remove-whitespace-in-all-the-files-in-directory-and-replace-with-a-dash-</guid>
    </item>
    <item>
      <title>(Bash) List the keyboard shortcuts for your *nix\'s builtin functions - cczona</title>
      <link>https://snipplr.com/view/58479/list-the-keyboard-shortcuts-for-your-nixs-builtin-functions</link>
      <description>&lt;p&gt;See also http://www.gnu.org/software/bash/manual/bashref.html#Bindable-Readline-Commands for the standard bindings and more detailed explanation of what they do.&lt;/p&gt;</description>
      <pubDate>Wed, 07 Sep 2011 07:34:29 UTC</pubDate>
      <guid>https://snipplr.com/view/58479/list-the-keyboard-shortcuts-for-your-nixs-builtin-functions</guid>
    </item>
    <item>
      <title>(Bash) Compressing folders in Terminal, excluding .DS_Store files - beneberle</title>
      <link>https://snipplr.com/view/58175/compressing-folders-in-terminal-excluding-dsstore-files</link>
      <description>&lt;p&gt;If you need to zip a directory named folderName and ignore all .DS_Store files, then do the following:&lt;/p&gt;</description>
      <pubDate>Fri, 26 Aug 2011 04:21:37 UTC</pubDate>
      <guid>https://snipplr.com/view/58175/compressing-folders-in-terminal-excluding-dsstore-files</guid>
    </item>
    <item>
      <title>(Bash) .htaccess domain redirects - beneberle</title>
      <link>https://snipplr.com/view/57844/htaccess-domain-redirects</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 16 Aug 2011 04:07:44 UTC</pubDate>
      <guid>https://snipplr.com/view/57844/htaccess-domain-redirects</guid>
    </item>
    <item>
      <title>(Bash) Color shell prompt - farstar78</title>
      <link>https://snipplr.com/view/57363/color-shell-prompt</link>
      <description>&lt;p&gt;insert this to home directory .bashrc file&lt;/p&gt;</description>
      <pubDate>Sat, 30 Jul 2011 04:54:18 UTC</pubDate>
      <guid>https://snipplr.com/view/57363/color-shell-prompt</guid>
    </item>
    <item>
      <title>(Bash) Oracle - compile report / compile forms on linux - theonlyalterego</title>
      <link>https://snipplr.com/view/57296/oracle--compile-report--compile-forms-on-linux</link>
      <description>&lt;p&gt;OFP is the database environment&lt;/p&gt;</description>
      <pubDate>Fri, 29 Jul 2011 04:36:08 UTC</pubDate>
      <guid>https://snipplr.com/view/57296/oracle--compile-report--compile-forms-on-linux</guid>
    </item>
    <item>
      <title>(Bash) Shell : How to rename/mv large number of files - magicrebirth</title>
      <link>https://snipplr.com/view/56327/shell--how-to-renamemv-large-number-of-files</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 08 Jul 2011 20:53:21 UTC</pubDate>
      <guid>https://snipplr.com/view/56327/shell--how-to-renamemv-large-number-of-files</guid>
    </item>
    <item>
      <title>(Bash) search recursive in special files for a special pattern - abstraktor</title>
      <link>https://snipplr.com/view/56054/search-recursive-in-special-files-for-a-special-pattern</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jul 2011 09:14:20 UTC</pubDate>
      <guid>https://snipplr.com/view/56054/search-recursive-in-special-files-for-a-special-pattern</guid>
    </item>
    <item>
      <title>(Bash) Joomla! install/upgrade procedure over ssh - beneberle</title>
      <link>https://snipplr.com/view/55444/joomla-installupgrade-procedure-over-ssh</link>
      <description>&lt;p&gt;First, find the proper package from http://www.joomla.org/download/ and copy its path. Then, over ssh, navigate to the root of the joomla install and perform these commands. In the case of an upgrade, this will overwrite in place the needed files, and in the case of an install, will unpack the package directly in the folder it was uploaded to. Much faster than unzipping locally and ftping.&lt;/p&gt;</description>
      <pubDate>Sat, 18 Jun 2011 03:43:03 UTC</pubDate>
      <guid>https://snipplr.com/view/55444/joomla-installupgrade-procedure-over-ssh</guid>
    </item>
    <item>
      <title>(Python) UUID - of motherboard - silviud</title>
      <link>https://snipplr.com/view/54526/uuid--of-motherboard</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 28 May 2011 01:43:49 UTC</pubDate>
      <guid>https://snipplr.com/view/54526/uuid--of-motherboard</guid>
    </item>
    <item>
      <title>(Bash) Rename files from command line - alassiter</title>
      <link>https://snipplr.com/view/50409/rename-files-from-command-line</link>
      <description>&lt;p&gt;A couple of snippets useful for file management. I use these to make sure I understand how many files I'm about to modify, and then rename them.&lt;/p&gt;</description>
      <pubDate>Thu, 10 Mar 2011 03:04:30 UTC</pubDate>
      <guid>https://snipplr.com/view/50409/rename-files-from-command-line</guid>
    </item>
    <item>
      <title>(Bash) Count files in a directory - alassiter</title>
      <link>https://snipplr.com/view/50408/count-files-in-a-directory</link>
      <description>&lt;p&gt;A very simple quick way to count the number of files in a directory.&lt;/p&gt;</description>
      <pubDate>Thu, 10 Mar 2011 02:55:52 UTC</pubDate>
      <guid>https://snipplr.com/view/50408/count-files-in-a-directory</guid>
    </item>
    <item>
      <title>(PHP) Time Elapsed Function - GeorgeL</title>
      <link>https://snipplr.com/view/49475/time-elapsed-function</link>
      <description>&lt;p&gt;Use by sending a unix timestamp to countTime(timestamp). It will return something like 40 seconds , 2 weeks, 1 hour. Then just format to your needs like we do in our app: Someone was here 10 minutes ago.&lt;/p&gt;</description>
      <pubDate>Wed, 23 Feb 2011 07:37:49 UTC</pubDate>
      <guid>https://snipplr.com/view/49475/time-elapsed-function</guid>
    </item>
    <item>
      <title>(Bash) How to find encoding of a file in Linux/Unix - vigoncas</title>
      <link>https://snipplr.com/view/48343/how-to-find-encoding-of-a-file-in-linuxunix</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 03 Feb 2011 20:50:02 UTC</pubDate>
      <guid>https://snipplr.com/view/48343/how-to-find-encoding-of-a-file-in-linuxunix</guid>
    </item>
    <item>
      <title>(Python) Python recursive change uid and gid (chown) of directory - silviud</title>
      <link>https://snipplr.com/view/47687/python-recursive-change-uid-and-gid-chown-of-directory</link>
      <description>&lt;p&gt;as you run chown -R user:group dir&lt;/p&gt;</description>
      <pubDate>Sat, 22 Jan 2011 04:12:06 UTC</pubDate>
      <guid>https://snipplr.com/view/47687/python-recursive-change-uid-and-gid-chown-of-directory</guid>
    </item>
    <item>
      <title>(Python) Python recursive get size of directory - silviud</title>
      <link>https://snipplr.com/view/47686/python-recursive-get-size-of-directory</link>
      <description>&lt;p&gt;this will display the size of a directory as if you run du -sb dir&lt;/p&gt;</description>
      <pubDate>Sat, 22 Jan 2011 04:10:18 UTC</pubDate>
      <guid>https://snipplr.com/view/47686/python-recursive-get-size-of-directory</guid>
    </item>
    <item>
      <title>(Bash) Convert encoding of a file - hced</title>
      <link>https://snipplr.com/view/45635/convert-encoding-of-a-file</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 12 Dec 2010 03:29:09 UTC</pubDate>
      <guid>https://snipplr.com/view/45635/convert-encoding-of-a-file</guid>
    </item>
    <item>
      <title>(Bash) Modificare i permessi di tutti i files/cartelle distintamente - tuffo19</title>
      <link>https://snipplr.com/view/44809/modificare-i-permessi-di-tutti-i-filescartelle-distintamente</link>
      <description>&lt;p&gt;Come modificare i permessi di tutti i files (senza toccare le cartelle) o viceversa&lt;/p&gt;</description>
      <pubDate>Wed, 24 Nov 2010 23:07:12 UTC</pubDate>
      <guid>https://snipplr.com/view/44809/modificare-i-permessi-di-tutti-i-filescartelle-distintamente</guid>
    </item>
    <item>
      <title>(Bash) UNIX regexp search down a directory tree - jarnaldich</title>
      <link>https://snipplr.com/view/44246/unix-regexp-search-down-a-directory-tree</link>
      <description>&lt;p&gt;Searches down the current directory every file whose name matches (case insensitively) {{file_pattern}} for the regexp {{text}}.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Nov 2010 18:28:37 UTC</pubDate>
      <guid>https://snipplr.com/view/44246/unix-regexp-search-down-a-directory-tree</guid>
    </item>
    <item>
      <title>(SAS) SAS Macro to FTP files between PC and Unix or among Unix server Locations... - sastechies</title>
      <link>https://snipplr.com/view/42667/sas-macro-to-ftp-files-between-pc-and-unix-or-among-unix-server-locations</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 21 Oct 2010 12:34:08 UTC</pubDate>
      <guid>https://snipplr.com/view/42667/sas-macro-to-ftp-files-between-pc-and-unix-or-among-unix-server-locations</guid>
    </item>
    <item>
      <title>(Other) Unix Terminal Styles - TailEndChuck</title>
      <link>https://snipplr.com/view/41369/unix-terminal-styles</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 03 Oct 2010 04:09:09 UTC</pubDate>
      <guid>https://snipplr.com/view/41369/unix-terminal-styles</guid>
    </item>
    <item>
      <title>(Bash) Find size of mailboxes - apro2000</title>
      <link>https://snipplr.com/view/40014/find-size-of-mailboxes</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 05 Sep 2010 05:24:20 UTC</pubDate>
      <guid>https://snipplr.com/view/40014/find-size-of-mailboxes</guid>
    </item>
    <item>
      <title>(Bash) Batch rename with wildcard support in Unix - jarnaldich</title>
      <link>https://snipplr.com/view/39769/batch-rename-with-wildcard-support-in-unix</link>
      <description>&lt;p&gt;To rename a bunch of files from "*.foo" to "*.bar" (like windows' REN *.foo *.bar) in unix.&#13;
&#13;
Looking at the solution, it is easy to adapt it to more powerful character substitutions on  a 1 to 1 basis.&#13;
&#13;
If you want to test what will be executed before doing so, just drop the last pipe.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Sep 2010 03:53:11 UTC</pubDate>
      <guid>https://snipplr.com/view/39769/batch-rename-with-wildcard-support-in-unix</guid>
    </item>
    <item>
      <title>(Bash) Creating an alias in unix systems - isholgueras</title>
      <link>https://snipplr.com/view/39319/creating-an-alias-in-unix-systems</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 19 Aug 2010 22:41:54 UTC</pubDate>
      <guid>https://snipplr.com/view/39319/creating-an-alias-in-unix-systems</guid>
    </item>
    <item>
      <title>(JavaScript) Execute a Unix Command with Node.js - viatropos</title>
      <link>https://snipplr.com/view/39105/execute-a-unix-command-with-nodejs</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 16 Aug 2010 05:37:56 UTC</pubDate>
      <guid>https://snipplr.com/view/39105/execute-a-unix-command-with-nodejs</guid>
    </item>
    <item>
      <title>(JavaScript) Tail Log Output with Node.js - viatropos</title>
      <link>https://snipplr.com/view/39104/tail-log-output-with-nodejs</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 16 Aug 2010 04:43:21 UTC</pubDate>
      <guid>https://snipplr.com/view/39104/tail-log-output-with-nodejs</guid>
    </item>
    <item>
      <title>(Bash) UNIX: remove files and directories recursively - beneberle</title>
      <link>https://snipplr.com/view/38728/unix-remove-files-and-directories-recursively</link>
      <description>&lt;p&gt;the -r means it's recursive, the f suppresses the need to confirm every file deletion.&lt;/p&gt;</description>
      <pubDate>Mon, 09 Aug 2010 01:34:59 UTC</pubDate>
      <guid>https://snipplr.com/view/38728/unix-remove-files-and-directories-recursively</guid>
    </item>
    <item>
      <title>(PHP) Convert UNIX timestamp to MySQL DATETIME - koko</title>
      <link>https://snipplr.com/view/37752/convert-unix-timestamp-to-mysql-datetime</link>
      <description>&lt;p&gt;The current time, converted from UNIX timestamp to use in MySQL DATETIME&lt;/p&gt;</description>
      <pubDate>Thu, 22 Jul 2010 23:41:36 UTC</pubDate>
      <guid>https://snipplr.com/view/37752/convert-unix-timestamp-to-mysql-datetime</guid>
    </item>
    <item>
      <title>(Bash) UNIX: Recursive chmod Directories or Files - beneberle</title>
      <link>https://snipplr.com/view/36623/unix-recursive-chmod-directories-or-files</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 03 Jul 2010 00:14:41 UTC</pubDate>
      <guid>https://snipplr.com/view/36623/unix-recursive-chmod-directories-or-files</guid>
    </item>
    <item>
      <title>(Bash) UNIX: Secure Copy folders between UNIX Machines - beneberle</title>
      <link>https://snipplr.com/view/36581/unix-secure-copy-folders-between-unix-machines</link>
      <description>&lt;p&gt;You will be prompted for a password after issuing this command&lt;/p&gt;</description>
      <pubDate>Fri, 02 Jul 2010 00:52:23 UTC</pubDate>
      <guid>https://snipplr.com/view/36581/unix-secure-copy-folders-between-unix-machines</guid>
    </item>
    <item>
      <title>(Bash) UNIX: zip file or directory - beneberle</title>
      <link>https://snipplr.com/view/36580/unix-zip-file-or-directory</link>
      <description>&lt;p&gt;Replace filename with the name you want to give the zip file. The .zip extension is automatically appended to the end of the filename. Replace inputfile1 and inputfile2 with the names of the files you wish to include in the zip archive. You can include any number of files here, or you may use an asterisk (*) to include all files in the current directory.&lt;/p&gt;</description>
      <pubDate>Fri, 02 Jul 2010 00:46:03 UTC</pubDate>
      <guid>https://snipplr.com/view/36580/unix-zip-file-or-directory</guid>
    </item>
    <item>
      <title>(Bash) Bash (Command Line): Loop through directories in specified location, replacing directories in current directory (with backup) - karlhorky</title>
      <link>https://snipplr.com/view/35126/bash-command-line-loop-through-directories-in-specified-location-replacing-directories-in-current-directory-with-backup</link>
      <description>&lt;p&gt;This command line aims at moving directories from a target location to the present working directory (pwd), backing the pwd directories up as it encounters them.&#13;
&#13;
The script works by:&#13;
&#13;
1. Iterating through the contents of the target directory (using the unix ls command)&#13;
&#13;
2. Checking whether the current object is a directory&#13;
&#13;
3. Moving the pwd directory to a backup location using the unix mv command&#13;
&#13;
4. Moving the target location's directory to the present working directory&#13;
&#13;
5. Printing out the modified directory's name using the unix echo command&lt;/p&gt;</description>
      <pubDate>Sun, 23 May 2010 15:24:10 UTC</pubDate>
      <guid>https://snipplr.com/view/35126/bash-command-line-loop-through-directories-in-specified-location-replacing-directories-in-current-directory-with-backup</guid>
    </item>
    <item>
      <title>(C) Unix daemon process - sukantahazra</title>
      <link>https://snipplr.com/view/28361/unix-daemon-process</link>
      <description>&lt;p&gt;Skeleton daemon process for unix&lt;/p&gt;</description>
      <pubDate>Tue, 16 Feb 2010 04:40:27 UTC</pubDate>
      <guid>https://snipplr.com/view/28361/unix-daemon-process</guid>
    </item>
    <item>
      <title>(C) Simple Linux signal handler - sukantahazra</title>
      <link>https://snipplr.com/view/28341/simple-linux-signal-handler</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 15 Feb 2010 12:31:55 UTC</pubDate>
      <guid>https://snipplr.com/view/28341/simple-linux-signal-handler</guid>
    </item>
    <item>
      <title>(Bash) Simple rsync backupscript. - berkes</title>
      <link>https://snipplr.com/view/26876/simple-rsync-backupscript</link>
      <description>&lt;p&gt;This script pulls in files with [rsync](http://samba.anu.edu.au/rsync/), storing them locally with hardlinks for unchanged, and real files for changed -files.&#13;
&#13;
* KEY=$HOME/.ssh/id_dsa_passwdless -- an id_rtsa key without a password. --adding this to remote authorized keys must be done with care: you will prbably want to whitelist one IP-adress.&#13;
* RHOST=ssh.example.com -- the host where to connect to using ssh, or rsync.&#13;
* RUSER=example-username -- the username on the host. Must have _read_ access in the SOURCE dit (see below).&#13;
* LPATH=$HOME/Archive/example-com/ -- where to place the backups&#13;
* RPATH=/var/www/example-com/ -- the to-be-backuped dir. &#13;
&#13;
You probably want to add this as script (`backup_example-com.sh`) in `~/bin`, or any other directory available in `$PATH`. And then add it to crontab.&#13;
&#13;
See a howto here: http://troy.jdmz.net/rsync/index.html&lt;/p&gt;</description>
      <pubDate>Fri, 22 Jan 2010 16:05:54 UTC</pubDate>
      <guid>https://snipplr.com/view/26876/simple-rsync-backupscript</guid>
    </item>
    <item>
      <title>(Python) Get TimeZone Offset From UTC - iloveitaly</title>
      <link>https://snipplr.com/view/26142/get-timezone-offset-from-utc</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 08 Jan 2010 10:59:05 UTC</pubDate>
      <guid>https://snipplr.com/view/26142/get-timezone-offset-from-utc</guid>
    </item>
    <item>
      <title>(Bash) Command line delete matching files and directories recursively - magicrebirth</title>
      <link>https://snipplr.com/view/25265/command-line-delete-matching-files-and-directories-recursively</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 22 Dec 2009 15:36:30 UTC</pubDate>
      <guid>https://snipplr.com/view/25265/command-line-delete-matching-files-and-directories-recursively</guid>
    </item>
    <item>
      <title>(Bash) UNIX: remove all files with certain characteristics - magicrebirth</title>
      <link>https://snipplr.com/view/25235/unix-remove-all-files-with-certain-characteristics</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 22 Dec 2009 15:01:23 UTC</pubDate>
      <guid>https://snipplr.com/view/25235/unix-remove-all-files-with-certain-characteristics</guid>
    </item>
  </channel>
</rss>
