<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/dupless/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/dupless/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 16 Jun 2013 20:25:18 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/dupless/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by rctdesigns</title><link>https://sourceforge.net/p/dupless/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -1,26 +1,37 @@
 From README.txt

-This pair of programs solves a problem I could not find a solution for.  It is two very simple pieces of Java code combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain and I hope you find it useful.
+This pair of programs solves a problem I could not find a solution for.  It is two very simple pieces of Java code
+combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain.

-Currently it is meant to be used on Linux, but can easily be modified to create Window's .bat files.  I may get around to that, but haven't needed it yet.
+It works on both Linux and Windows.  (use --win option for MakeScript)
+
+Requirements: sqlite jdbc and Java jre

 Use case:

-You have thousands of files (of any file type), many of which are duplicates.  They reside in multiple directories under a single base directory. You want to copy one of each unique file into a new set of directories, leaving the original files and directories unchanged.
+You have thousands of files (of any file type), many of which are duplicates.  They reside in multiple directories
+under a single base directory. You want to copy one of each unique file into a new set of directories, leaving the original files
+and directories unchanged.

 You run at the command line:

     java com.bizdash.main.Scanner --showpaths --createtable /basedir

-Scanner will scan through basedir and all directories under it, creating a MD5 hash for each file found.  The hash and the file's information are saved in an sqlite database for later processing.
+Scanner will scan through basedir and all directories under it, creating a MD5 hash for each file found.  The hash
+and the file's information are saved in an sqlite database for later processing.

 You can optionally limit what file types are processed, specify directories to be skipped, and specify multiple base directories.
+
+The scanner checks for and skips files that contain invalid file characters.  The skipped files are noted in the log as "RENAME====" 
+followed by the current file name.  If you want these files included in the database, rename them and run the scanner again.

 Once you have scanned the files of interest, you are ready to run:

     java com.bizdash.main.MakeScript --showfiles /basedir /newbasedir

-MakeScript will go through the database and find one copy of each unique file.  It will create a script file (sh or bash script) that has all of the commands to copy the unique set of files to /newbasedir.  /basedir needs to be the same as the /basedir you specified for Scanner.
+MakeScript will go through the database and find one copy of each unique file.  It will create a script file (sh or bash script)
+that has all of the commands to copy the unique set of files to /newbasedir.  /basedir needs to be the same as the /basedir
+you specified for Scanner.

 MakeScript also lets you filter by file type.  The following command will copy only JPG files:

@@ -29,3 +40,19 @@
 Or do multiple file types with:

    java com.bizdash.main.MakeScript --showfiles '.jpg .mpg' /basedir /newbasedir
+   
+Want a windows bat file?  Use:
+
+   java com.bizdash.main.MakeScript --win --showfiles '.jpg .mpg' \basedir \newbasedir
+   
+You can change the destination by either running MakeScript again with new arguments or you can edit two variables at the top of the
+script or bat file.
+
+After running the copy script, you can have MakeScript check the copy results, using either the --check or --hash option.
+--check checks to see if the file exists and reports it missing if not.
+--hash (forces --check) and hashes the file and compares it to the original file's hash
+
+Run either Scanner or MakeScript without any arguments to see their options.
+
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rctdesigns</dc:creator><pubDate>Sun, 16 Jun 2013 20:25:18 -0000</pubDate><guid>https://sourceforge.net02d3f4b9f27b3e661ecd75fbf2ddde79d57abf02</guid></item><item><title>Home modified by rctdesigns</title><link>https://sourceforge.net/p/dupless/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,23 +1,18 @@
 From README.txt

-This pair of programs solves a problem I could not find a solution for.  It is two very simple pieces of Java code
-combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain and I hope you find it useful.
+This pair of programs solves a problem I could not find a solution for.  It is two very simple pieces of Java code combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain and I hope you find it useful.

-Currently it is meant to be used on Linux, but can easily be modified to create Window's .bat files.  I may get
-around to that, but haven't needed it yet.
+Currently it is meant to be used on Linux, but can easily be modified to create Window's .bat files.  I may get around to that, but haven't needed it yet.

 Use case:

-You have thousands of files (of any file type), many of which are duplicates.  They reside in multiple directories
-under a single base directory. You want to copy one of each unique file into a new set of directories, leaving the original files
-and directories unchanged.
+You have thousands of files (of any file type), many of which are duplicates.  They reside in multiple directories under a single base directory. You want to copy one of each unique file into a new set of directories, leaving the original files and directories unchanged.

 You run at the command line:

     java com.bizdash.main.Scanner --showpaths --createtable /basedir

-Scanner will scan through basedir and all directories under it, creating a MD5 hash for each file found.  The hash
-and the file's information are saved in an sqlite database for later processing.
+Scanner will scan through basedir and all directories under it, creating a MD5 hash for each file found.  The hash and the file's information are saved in an sqlite database for later processing.

 You can optionally limit what file types are processed, specify directories to be skipped, and specify multiple base directories.

@@ -25,9 +20,7 @@

     java com.bizdash.main.MakeScript --showfiles /basedir /newbasedir

-MakeScript will go through the database and find one copy of each unique file.  It will create a script file (sh or bash script)
-that has all of the commands to copy the unique set of files to /newbasedir.  /basedir needs to be the same as the /basedir
-you specified for Scanner.
+MakeScript will go through the database and find one copy of each unique file.  It will create a script file (sh or bash script) that has all of the commands to copy the unique set of files to /newbasedir.  /basedir needs to be the same as the /basedir you specified for Scanner.

 MakeScript also lets you filter by file type.  The following command will copy only JPG files:

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rctdesigns</dc:creator><pubDate>Thu, 13 Jun 2013 21:02:10 -0000</pubDate><guid>https://sourceforge.net2a2e2ed0b21d2e0576c22cd125c0ab5a988234a4</guid></item><item><title>Home modified by rctdesigns</title><link>https://sourceforge.net/p/dupless/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,5 +1,7 @@
+From README.txt
+
 This pair of programs solves a problem I could not find a solution for.  It is two very simple pieces of Java code
-combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain.
+combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain and I hope you find it useful.

 Currently it is meant to be used on Linux, but can easily be modified to create Window's .bat files.  I may get
 around to that, but haven't needed it yet.
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rctdesigns</dc:creator><pubDate>Thu, 13 Jun 2013 20:41:02 -0000</pubDate><guid>https://sourceforge.net025a0361472049f5b4629ffe5fa570e2646b25ab</guid></item><item><title>Home modified by rctdesigns</title><link>https://sourceforge.net/p/dupless/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,8 +1,36 @@
-Welcome to your wiki!
+This pair of programs solves a problem I could not find a solution for.  It is two very simple pieces of Java code
+combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain.

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+Currently it is meant to be used on Linux, but can easily be modified to create Window's .bat files.  I may get
+around to that, but haven't needed it yet.

-The wiki uses [Markdown](/p/dupless/wiki/markdown_syntax/) syntax.
+Use case:

-[[members limit=20]]
-[[download_button]]
+You have thousands of files (of any file type), many of which are duplicates.  They reside in multiple directories
+under a single base directory. You want to copy one of each unique file into a new set of directories, leaving the original files
+and directories unchanged.
+
+You run at the command line:
+
+    java com.bizdash.main.Scanner --showpaths --createtable /basedir
+    
+Scanner will scan through basedir and all directories under it, creating a MD5 hash for each file found.  The hash
+and the file's information are saved in an sqlite database for later processing.
+
+You can optionally limit what file types are processed, specify directories to be skipped, and specify multiple base directories.
+
+Once you have scanned the files of interest, you are ready to run:
+
+    java com.bizdash.main.MakeScript --showfiles /basedir /newbasedir
+    
+MakeScript will go through the database and find one copy of each unique file.  It will create a script file (sh or bash script)
+that has all of the commands to copy the unique set of files to /newbasedir.  /basedir needs to be the same as the /basedir
+you specified for Scanner.
+
+MakeScript also lets you filter by file type.  The following command will copy only JPG files:
+
+    java com.bizdash.main.MakeScript --showfiles '.jpg' /basedir /newbasedir
+    
+Or do multiple file types with:
+
+   java com.bizdash.main.MakeScript --showfiles '.jpg .mpg' /basedir /newbasedir
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rctdesigns</dc:creator><pubDate>Thu, 13 Jun 2013 20:39:30 -0000</pubDate><guid>https://sourceforge.netf95231c0b8437852b3f2803a31f35157a6618320</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/dupless/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This pair of programs solves a problem I could not find a solution for.  It is two very simple pieces of Java code&lt;br /&gt;
combined with the sqlite database.  Feel free to use it in any way you choose.  I place it in the public domain.&lt;/p&gt;
&lt;p&gt;Currently it is meant to be used on Linux, but can easily be modified to create Window's .bat files.  I may get&lt;br /&gt;
around to that, but haven't needed it yet.&lt;/p&gt;
&lt;p&gt;Use case:&lt;/p&gt;
&lt;p&gt;You have thousands of files (of any file type), many of which are duplicates.  They reside in multiple directories&lt;br /&gt;
under a single base directory. You want to copy one of each unique file into a new set of directories, leaving the original files&lt;br /&gt;
and directories unchanged.&lt;/p&gt;
&lt;p&gt;You run at the command line:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bizdash&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Scanner&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;showpaths&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;createtable&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;basedir&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Scanner will scan through basedir and all directories under it, creating a MD5 hash for each file found.  The hash&lt;br /&gt;
and the file's information are saved in an sqlite database for later processing.&lt;/p&gt;
&lt;p&gt;You can optionally limit what file types are processed, specify directories to be skipped, and specify multiple base directories.&lt;/p&gt;
&lt;p&gt;Once you have scanned the files of interest, you are ready to run:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bizdash&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;MakeScript&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;showfiles&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;basedir&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;newbasedir&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;MakeScript will go through the database and find one copy of each unique file.  It will create a script file (sh or bash script)&lt;br /&gt;
that has all of the commands to copy the unique set of files to /newbasedir.  /basedir needs to be the same as the /basedir&lt;br /&gt;
you specified for Scanner.&lt;/p&gt;
&lt;p&gt;MakeScript also lets you filter by file type.  The following command will copy only JPG files:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bizdash&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;MakeScript&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;showfiles&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jpg&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;basedir&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;newbasedir&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Or do multiple file types with:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="n"&gt;com&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bizdash&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;MakeScript&lt;/span&gt; &lt;span class="o"&gt;--&lt;/span&gt;&lt;span class="n"&gt;showfiles&lt;/span&gt; &lt;span class="err"&gt;'&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jpg&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;mpg&lt;/span&gt;&lt;span class="err"&gt;'&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;basedir&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;newbasedir&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rctdesigns</dc:creator><pubDate>Thu, 13 Jun 2013 20:38:39 -0000</pubDate><guid>https://sourceforge.net808865c0bff6fcf4cbb0db71b11919c76c63e02f</guid></item><item><title>Home modified by rctdesigns</title><link>https://sourceforge.net/p/dupless/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/dupless/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/rctdesigns/"&gt;rctdesigns&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-51ba22c6d46bb448bfa92a3f" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">rctdesigns</dc:creator><pubDate>Thu, 13 Jun 2013 19:51:34 -0000</pubDate><guid>https://sourceforge.net8e376879b7355a624772ea823672d2c020fcd70c</guid></item></channel></rss>