<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1037078" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1037078</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212972</link>
    <description> &lt;p&gt;My Bluefish program is configured to delete backup files upon closing.  It doesn&#039;t like to listen. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;That command works!  Thanks so much.&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Jan 2007 14:31:05 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1212972 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212946</link>
    <description> &lt;p&gt;Thanks JeevesBond - long time since I&#039;ve used Linux so my command line knowledge is failing . . . &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Jan 2007 08:08:44 +0000</pubDate>
 <dc:creator>02bunced</dc:creator>
 <guid isPermaLink="false">comment 1212946 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212942</link>
    <description> &lt;p&gt;Just had a look at Bluefish, to make it delete the backups on exit, go to Edit -&amp;gt; Preferences -&amp;gt; Files -&amp;gt; Backup -&amp;gt; Remove backup file on close (it&#039;s a checkbox).&lt;/p&gt;
&lt;p&gt;Otherwise you can just use the commands above, changing the preferences does seem easier though. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Jan 2007 06:22:40 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1212942 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212941</link>
    <description> &lt;p&gt;The easiest way to solve this is to get Bluefish to delete all it&#039;s backup files when it closes.&lt;/p&gt;
&lt;p&gt;This definitely doesn&#039;t require a bash script: just use the pipe! This should work:&lt;br /&gt;
&lt;code&gt;find . -type f -name &amp;#039;*~&amp;#039; | xargs rm -f&lt;/code&gt;&#039;&lt;br /&gt;
So [incode]find . -type f -name &#039;*~&#039;[/incode] finds (the [incode]-type f[/incode] bit) any files in the current directory (the dot after the find), which have a name ending with &#039;*~&#039;. The pipe symbol [incode]|[/incode] then sends the results of the find to [incode]xargs rm -f[/incode], xargs gets the results and calls [incode]rm -f[/incode] for each file, which deletes them. &lt;/p&gt;
&lt;p&gt;The find command is recursive.&lt;/p&gt;
&lt;p&gt;A while ago I always used to login to my Linux box as root, that was until I typed: [incode]rm -rf /[/incode] by accident. Big mistake. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Jan 2007 06:18:44 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1212941 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212938</link>
    <description> &lt;p&gt;Ok, I see now.  Thanks for the clarification.&lt;/p&gt;
&lt;p&gt;I&#039;ve never written any bash scripts to do something complex like that.  If anybody would be able to come up with something that would work, I would appreciate it.  Otherwise, I can do it in PHP.&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Jan 2007 21:52:27 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1212938 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212936</link>
    <description> &lt;p&gt;Yes, but it won&#039;t search through the subdirectories, it just works on the sub-directory names. This boils down to the Linux theory that everything is a file, therefore, it sees the subdirectories as a file only. So, if you had a subdirectory with the name &quot;Project1~&quot;, the directory would be deleted, but it wouldn&#039;t search through it.&lt;/p&gt;
&lt;p&gt;To do that, you&#039;d need to set up a bash script to get the number of subdirectories in the folder, to &#039;cd&#039; into each one, remove all the folders, cd back to the root again and repeat for each directory.&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Jan 2007 21:09:30 +0000</pubDate>
 <dc:creator>02bunced</dc:creator>
 <guid isPermaLink="false">comment 1212936 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212929</link>
    <description> &lt;p&gt;That actually works, but only in the current directory.  Doesn&#039;t the -r switch mean recursive (delete in all subdirectories)?&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Jan 2007 18:55:31 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1212929 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/webmasters-corner/linux-command-delete-backup-files-created-bluefish#comment-1212928</link>
    <description> &lt;p&gt;Does rm -rf *~ work any better&lt;/p&gt;
 </description>
     <pubDate>Tue, 02 Jan 2007 18:45:10 +0000</pubDate>
 <dc:creator>02bunced</dc:creator>
 <guid isPermaLink="false">comment 1212928 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
