<?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/delete</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Tue, 21 May 2013 02:13:42 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>(SQL) SQL query to delete all media and attachments in wordpress - rickygri</title>
<link>http://snipplr.com/view/70656/sql-query-to-delete-all-media-and-attachments-in-wordpress/</link>
<description><![CDATA[ <p>Run these queries (phpMyAdmin will do) to delete all media in the library, and remove all post attachment affiliation</p> ]]></description>
<pubDate>Thu, 04 Apr 2013 20:14:52 GMT</pubDate>
<guid>http://snipplr.com/view/70656/sql-query-to-delete-all-media-and-attachments-in-wordpress/</guid>
</item>
<item>
<title>(SQL) Delete all tables from SQL - fixpq</title>
<link>http://snipplr.com/view/69971/delete-all-tables-from-sql/</link>
<description><![CDATA[ <p>It removes relations before deleting tables.</p> ]]></description>
<pubDate>Sun, 17 Feb 2013 23:58:38 GMT</pubDate>
<guid>http://snipplr.com/view/69971/delete-all-tables-from-sql/</guid>
</item>
<item>
<title>(Groovy) Recursive delete current directory - alces</title>
<link>http://snipplr.com/view/69815/recursive-delete-current-directory/</link>
<description><![CDATA[ <p>Safe way to recursive delete directory</p> ]]></description>
<pubDate>Wed, 06 Feb 2013 23:22:33 GMT</pubDate>
<guid>http://snipplr.com/view/69815/recursive-delete-current-directory/</guid>
</item>
<item>
<title>(C++) glavni.cpp - fsabalic2</title>
<link>http://snipplr.com/view/68454/glavnicpp/</link>
<description><![CDATA[ <p>Glavni kod u kome unosimo podatke, sortiramo ih te ispisujemo</p> ]]></description>
<pubDate>Mon, 12 Nov 2012 08:52:31 GMT</pubDate>
<guid>http://snipplr.com/view/68454/glavnicpp/</guid>
</item>
<item>
<title>(C++) pokazivaci.h - fsabalic2</title>
<link>http://snipplr.com/view/68442/pokazivacih/</link>
<description><![CDATA[ <p>Inplementacija liste pomocu pokazivaca, header file(Izaglavlje</p> ]]></description>
<pubDate>Mon, 12 Nov 2012 08:44:36 GMT</pubDate>
<guid>http://snipplr.com/view/68442/pokazivacih/</guid>
</item>
<item>
<title>(C++) polja.h - fsabalic2</title>
<link>http://snipplr.com/view/68440/poljah/</link>
<description><![CDATA[ <p>Inplementacija ATP liste pomoći pokazivača, header file(zaglavlje)</p> ]]></description>
<pubDate>Mon, 12 Nov 2012 08:42:31 GMT</pubDate>
<guid>http://snipplr.com/view/68440/poljah/</guid>
</item>
<item>
<title>(SQL) Delete a limited set of rows in a DB2 database - claudiodev</title>
<link>http://snipplr.com/view/67820/delete-a-limited-set-of-rows-in-a-db2-database/</link>
<description><![CDATA[ <p>Delete a defined number of rows from a db2 database table</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 03:14:32 GMT</pubDate>
<guid>http://snipplr.com/view/67820/delete-a-limited-set-of-rows-in-a-db2-database/</guid>
</item>
<item>
<title>(MySQL) Delete duplicate records from MySQL Database - welancers</title>
<link>http://snipplr.com/view/67709/delete-duplicate-records-from-mysql-database/</link>
<description><![CDATA[ <p>Use the same table to query against itself. The greater then sign does the main job of returning only one records of both duplicate records.</p> ]]></description>
<pubDate>Fri, 12 Oct 2012 22:45:47 GMT</pubDate>
<guid>http://snipplr.com/view/67709/delete-duplicate-records-from-mysql-database/</guid>
</item>
<item>
<title>(CSS) Delete a folder and all contents - bitfed</title>
<link>http://snipplr.com/view/67251/delete-a-folder-and-all-contents/</link>
<description><![CDATA[ <p>Deletes a folder and all contents recursively and verbosely</p> ]]></description>
<pubDate>Wed, 19 Sep 2012 17:47:07 GMT</pubDate>
<guid>http://snipplr.com/view/67251/delete-a-folder-and-all-contents/</guid>
</item>
<item>
<title>(PHP) How to Remove Directories Recursively with PHP -  updated method - fackz</title>
<link>http://snipplr.com/view/66200/how-to-remove-directories-recursively-with-php---updated-method/</link>
<description><![CDATA[ <p>This function removes a directory and its contents.
Use with careful, no undo!</p> ]]></description>
<pubDate>Wed, 18 Jul 2012 12:29:37 GMT</pubDate>
<guid>http://snipplr.com/view/66200/how-to-remove-directories-recursively-with-php---updated-method/</guid>
</item>
<item>
<title>(DOS Batch) Save (and clear) Windows Event Logs - Rectifier</title>
<link>http://snipplr.com/view/65885/save-and-clear-windows-event-logs/</link>
<description><![CDATA[ <p>Uses the sysinternals (microsoft) utility PsLogList to save specified event logs to files and then clears them. Method can be used to save logs as .evt and .evtx. This script has four event logs listed as an example and has a template command commented. Tested on a local windows 7 machine, but should work for xp, server 2k3 and 2k8.</p> ]]></description>
<pubDate>Sun, 01 Jul 2012 03:54:14 GMT</pubDate>
<guid>http://snipplr.com/view/65885/save-and-clear-windows-event-logs/</guid>
</item>
<item>
<title>(DOS Batch) Clear Windows 7 Event Log - Rectifier</title>
<link>http://snipplr.com/view/65884/clear-windows-7-event-log/</link>
<description><![CDATA[ <p>This is a simple batch script to clear the event logs from a windows 7 or server 2008 machine. The script does *not* save these logs. This was tested on a local machine but could be adapted for remote use.</p> ]]></description>
<pubDate>Sun, 01 Jul 2012 03:42:51 GMT</pubDate>
<guid>http://snipplr.com/view/65884/clear-windows-7-event-log/</guid>
</item>
<item>
<title>(Bash) Redis deleting keys with prefix - ef</title>
<link>http://snipplr.com/view/65840/redis-deleting-keys-with-prefix/</link>
<description><![CDATA[ <p>Deletes all keys starting with prefix. Inspired by: http://stackoverflow.com/a/4006575</p> ]]></description>
<pubDate>Thu, 28 Jun 2012 01:01:38 GMT</pubDate>
<guid>http://snipplr.com/view/65840/redis-deleting-keys-with-prefix/</guid>
</item>
<item>
<title>(PHP) Class to list/remove recursively files into a directory - fgbreel</title>
<link>http://snipplr.com/view/61791/class-to-listremove-recursively-files-into-a-directory/</link>
<description><![CDATA[ <p>Class to list/remove recursively files into a directory</p> ]]></description>
<pubDate>Sat, 10 Dec 2011 06:26:24 GMT</pubDate>
<guid>http://snipplr.com/view/61791/class-to-listremove-recursively-files-into-a-directory/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Insert and Delete Characters at TextField CaretIndex Position - adrianparr</title>
<link>http://snipplr.com/view/60933/as3-insert-and-delete-characters-at-textfield-caretindex-position/</link>
<description><![CDATA[ <p>This code gets the current caretIndex in the textfield and then inserts the specified string at that point. The caretIndex position is then updated using setSelection, ready for the next insertion. This was developed to be used with an on-screen keyboard (for entering text into a textfield when the user is in fullscreen mode). The backspace button is intended to function in the same manner as pressing the delete key on your keyboard.</p> ]]></description>
<pubDate>Thu, 17 Nov 2011 22:09:46 GMT</pubDate>
<guid>http://snipplr.com/view/60933/as3-insert-and-delete-characters-at-textfield-caretindex-position/</guid>
</item>
<item>
<title>(PHP) Delete directory and its content recursively - spcmnk</title>
<link>http://snipplr.com/view/59540/delete-directory-and-its-content-recursively/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 07 Oct 2011 23:46:14 GMT</pubDate>
<guid>http://snipplr.com/view/59540/delete-directory-and-its-content-recursively/</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>(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>(SQL) delete - BrentS</title>
<link>http://snipplr.com/view/57317/delete/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 29 Jul 2011 08:45:11 GMT</pubDate>
<guid>http://snipplr.com/view/57317/delete/</guid>
</item>
</channel>
</rss>