<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/files</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 17:57:03 GMT</pubDate>
<item>
<title>(Bash) GIT - Restore a deleted file in a Git repo - satie83</title>
<link>http://snipplr.com/view/70835/git--restore-a-deleted-file-in-a-git-repo/</link>
<description><![CDATA[ <p>Say I'm in a Git repository. I delete a file and commit that change. I continue working and make some more commits. Then, I find I need to restore that file.</p> ]]></description>
<pubDate>Thu, 18 Apr 2013 01:26:12 GMT</pubDate>
<guid>http://snipplr.com/view/70835/git--restore-a-deleted-file-in-a-git-repo/</guid>
</item>
<item>
<title>(PHP) A function to get a files contents with curl. - o0110o</title>
<link>http://snipplr.com/view/67836/a-function-to-get-a-files-contents-with-curl/</link>
<description><![CDATA[ <p>A handy function to get the contents of a file with curl. Accepts $_path as a parameter.</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 10:23:15 GMT</pubDate>
<guid>http://snipplr.com/view/67836/a-function-to-get-a-files-contents-with-curl/</guid>
</item>
<item>
<title>(PHP) A function to see if a file exists with curl. - o0110o</title>
<link>http://snipplr.com/view/67835/a-function-to-see-if-a-file-exists-with-curl/</link>
<description><![CDATA[ <p>This function will use curl to see if a file exists at the location it's provided. It accepts $_path as a parameter.</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 10:15:04 GMT</pubDate>
<guid>http://snipplr.com/view/67835/a-function-to-see-if-a-file-exists-with-curl/</guid>
</item>
<item>
<title>(PHP) A function to get file sizes in multiple formats with curl. - o0110o</title>
<link>http://snipplr.com/view/67834/a-function-to-get-file-sizes-in-multiple-formats-with-curl/</link>
<description><![CDATA[ <p>A function to get a files size via curl. Accepts $_path, $_unit, $_float, $_username &amp; $_password; In the listed order.</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 10:06:54 GMT</pubDate>
<guid>http://snipplr.com/view/67834/a-function-to-get-file-sizes-in-multiple-formats-with-curl/</guid>
</item>
<item>
<title>(Bash) GIT - List all the files for a commit (or various commits) in git - satie83</title>
<link>http://snipplr.com/view/65726/git--list-all-the-files-for-a-commit-or-various-commits-in-git/</link>
<description><![CDATA[ <p>Hash of the commit which you want to  show a303aa90779efdd2f6b9d90693e2cbbbe4613c1d</p> ]]></description>
<pubDate>Thu, 21 Jun 2012 02:11:14 GMT</pubDate>
<guid>http://snipplr.com/view/65726/git--list-all-the-files-for-a-commit-or-various-commits-in-git/</guid>
</item>
<item>
<title>(PHP) List all files in a diretory with glob (2) - pruntrut</title>
<link>http://snipplr.com/view/64962/list-all-files-in-a-diretory-with-glob-2/</link>
<description><![CDATA[ <p>List all files in a diretory with glob</p> ]]></description>
<pubDate>Mon, 21 May 2012 00:05:00 GMT</pubDate>
<guid>http://snipplr.com/view/64962/list-all-files-in-a-diretory-with-glob-2/</guid>
</item>
<item>
<title>(Bash) Changing permissions recursively by files and directories - wnasich</title>
<link>http://snipplr.com/view/64753/changing-permissions-recursively-by-files-and-directories/</link>
<description><![CDATA[ <p>In order to avoid make files executable,  you can use these to chmod files and directories differently.</p> ]]></description>
<pubDate>Fri, 27 Apr 2012 00:33:53 GMT</pubDate>
<guid>http://snipplr.com/view/64753/changing-permissions-recursively-by-files-and-directories/</guid>
</item>
<item>
<title>(AppleScript) Hidden files in MacOSX - vaishnavi</title>
<link>http://snipplr.com/view/64746/hidden-files-in-macosx/</link>
<description><![CDATA[ <p>Hide and show files in MacOSX</p> ]]></description>
<pubDate>Thu, 26 Apr 2012 16:12:36 GMT</pubDate>
<guid>http://snipplr.com/view/64746/hidden-files-in-macosx/</guid>
</item>
<item>
<title>(PHP) Get file extension from name or complete path - fawazcb</title>
<link>http://snipplr.com/view/64714/get-file-extension-from-name-or-complete-path/</link>
<description><![CDATA[ <p>Get file extension from it's name or complete path</p> ]]></description>
<pubDate>Tue, 24 Apr 2012 15:28:02 GMT</pubDate>
<guid>http://snipplr.com/view/64714/get-file-extension-from-name-or-complete-path/</guid>
</item>
<item>
<title>(DOS Batch) Combine/append ASCII files using DOS - webonomic</title>
<link>http://snipplr.com/view/64528/combineappend-ascii-files-using-dos/</link>
<description><![CDATA[ <p>Quickly combine/append ascii type files such as txt or csv.</p> ]]></description>
<pubDate>Fri, 13 Apr 2012 00:53:33 GMT</pubDate>
<guid>http://snipplr.com/view/64528/combineappend-ascii-files-using-dos/</guid>
</item>
<item>
<title>(PHP) wp_conditional css files loading - nWidart</title>
<link>http://snipplr.com/view/63586/wpconditional-css-files-loading/</link>
<description><![CDATA[ <p>wp_conditional css files loading</p> ]]></description>
<pubDate>Sun, 26 Feb 2012 20:27:52 GMT</pubDate>
<guid>http://snipplr.com/view/63586/wpconditional-css-files-loading/</guid>
</item>
<item>
<title>(Bash) Batch remove whitespace in all the files in directory and replace with a dash "-" - licensetoil</title>
<link>http://snipplr.com/view/62828/batch-remove-whitespace-in-all-the-files-in-directory-and-replace-with-a-dash-/</link>
<description><![CDATA[ <p>Add this to your .profile or .bash_rc file, source the file, navigate to the directory and call "rm_whitespace"

Based on: http://snipplr.com/view/4468/batch-rename-files-in-directory/</p> ]]></description>
<pubDate>Sat, 28 Jan 2012 17:42:18 GMT</pubDate>
<guid>http://snipplr.com/view/62828/batch-remove-whitespace-in-all-the-files-in-directory-and-replace-with-a-dash-/</guid>
</item>
<item>
<title>(AppleScript) Show hidden files in Terminal - shuchii</title>
<link>http://snipplr.com/view/62720/show-hidden-files-in-terminal/</link>
<description><![CDATA[ <p>Replace TRUE with FALSE if you want to hide the hidden files again.</p> ]]></description>
<pubDate>Mon, 23 Jan 2012 19:43:49 GMT</pubDate>
<guid>http://snipplr.com/view/62720/show-hidden-files-in-terminal/</guid>
</item>
<item>
<title>(Bash) Delete all files of a directory which contains a specific contents, no mather the size of the directory - ferro</title>
<link>http://snipplr.com/view/59261/delete-all-files-of-a-directory-which-contains-a-specific-contents-no-mather-the-size-of-the-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 29 Sep 2011 22:32:43 GMT</pubDate>
<guid>http://snipplr.com/view/59261/delete-all-files-of-a-directory-which-contains-a-specific-contents-no-mather-the-size-of-the-directory/</guid>
</item>
<item>
<title>(SVN) Add all new files into an SVN repo - Meander365</title>
<link>http://snipplr.com/view/58663/add-all-new-files-into-an-svn-repo/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 14 Sep 2011 10:04:25 GMT</pubDate>
<guid>http://snipplr.com/view/58663/add-all-new-files-into-an-svn-repo/</guid>
</item>
<item>
<title>(C++) Qt drag and drop files or directories - shadevampire</title>
<link>http://snipplr.com/view/58458/qt-drag-and-drop-files-or-directories/</link>
<description><![CDATA[ <p>You have to implement 2 protected virtual methods in your widget you want to accept file or directory drops:
- void dragEnterEvent(QDragEnterEvent *event)
- void dropEvent(QDropEvent *event)

And also you have to call setAcceptDrops(true); on this widget before it could accept drops.</p> ]]></description>
<pubDate>Mon, 05 Sep 2011 23:25:24 GMT</pubDate>
<guid>http://snipplr.com/view/58458/qt-drag-and-drop-files-or-directories/</guid>
</item>
<item>
<title>(Bash) Bash Script for Deleting Files X Number of Days Old - jerryvig</title>
<link>http://snipplr.com/view/58412/bash-script-for-deleting-files-x-number-of-days-old/</link>
<description><![CDATA[ <p>This a Bash one-liner script that will automatically delete files older than 14 days in given directory whose name pattern matches the pattern given to find. The script will need to be put on a cron schedule in order to automatically execute the file deletions. The " in the code below should be replaced by the desired number of days.</p> ]]></description>
<pubDate>Sat, 03 Sep 2011 13:18:02 GMT</pubDate>
<guid>http://snipplr.com/view/58412/bash-script-for-deleting-files-x-number-of-days-old/</guid>
</item>
<item>
<title>(Groovy) download files with groovy and wget - m3rol666</title>
<link>http://snipplr.com/view/58306/download-files-with-groovy-and-wget/</link>
<description><![CDATA[ <p>used this to download a bunch of wsdls. Put all addresses in a file and execute the script like

groovy download.groovy file.txt</p> ]]></description>
<pubDate>Tue, 30 Aug 2011 18:06:26 GMT</pubDate>
<guid>http://snipplr.com/view/58306/download-files-with-groovy-and-wget/</guid>
</item>
<item>
<title>(PHP) Quick img tag - claudiowebdesign</title>
<link>http://snipplr.com/view/58227/quick-img-tag/</link>
<description><![CDATA[ <p>If you keep all image files to be displayed in a directory this could be a quicker and simplier way to write the proper tag</p> ]]></description>
<pubDate>Sat, 27 Aug 2011 05:55:40 GMT</pubDate>
<guid>http://snipplr.com/view/58227/quick-img-tag/</guid>
</item>
<item>
<title>(Windows PowerShell) Convert every music file into 192kbps mp3 in a given \"targetdir\" folder with ffmpeg on Windows - shadevampire</title>
<link>http://snipplr.com/view/58152/convert-every-music-file-into-192kbps-mp3-in-a-given-targetdir-folder-with-ffmpeg-on-windows/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 25 Aug 2011 07:50:03 GMT</pubDate>
<guid>http://snipplr.com/view/58152/convert-every-music-file-into-192kbps-mp3-in-a-given-targetdir-folder-with-ffmpeg-on-windows/</guid>
</item>
</channel>
</rss>