Difference between revisions of "Delete Duplicate File GUI"

From OpenCircuits
Jump to navigation Jump to search
Line 24: Line 24:
 
== General ==
 
== General ==
  
There are 4 major areas of functionalityRead this guide first then get more information on each at:
+
Before using there are some concepts/vocabulary that need to be established.  You are intend to select some part of your file system where you want to keep all the files, that is not delete any duplicates.  And  there is some other part of your file system where you suspect duplicate files and want to delete the duplicatesCurrently a file is considered a duplicate if it has the same name, later we will make a check on the file size as well.
 +
 
 +
The part of the file system you want to keep is called the keeps, and the part with possible duplicates is called the dups, so far suspected by not convicted.
 +
 
 +
Each part of the file system the keeps and dups are specified by a list of directories you set in the parameter file, parameters.py ( see reference at:..... ).
 +
 
 +
Additionally you may specify how down from a starting directory you want to search and what filter you want to apply to the files.
 +
 
 +
The application then has 4 phases, 0 to 3.
 +
 
 +
0 -- show you the setup of the application.
 +
1 -- build and empty database for indexing files
 +
2 -- scan and index the dups or possible duplicate files
 +
3 -- scan and process the dups deleting ( or otherwise processing the files )
  
* [[Clipboard Transformations]] 
 
* [[Clipboard Snippets]] 
 
* [[Clipboard Snips]] 
 
* [[Clipboard Commands]]
 
 
== The Controls ==
 
== The Controls ==
  

Revision as of 11:00, 25 July 2021

Overview

The GUI or graphical user interface is the key to using the Delete Duplicates Application. Root documentation at: Python Delete Duplicates This page is the documentation for the GUI.

Screen Shot

This is what it looks like, details on each part below. Still working on it. Note that this screen shot was taken during a debugging session and has some artifacts that will soon disappear, then a new screen shot will be placed here.


1000x2500px


What Does What

General

Before using there are some concepts/vocabulary that need to be established. You are intend to select some part of your file system where you want to keep all the files, that is not delete any duplicates. And there is some other part of your file system where you suspect duplicate files and want to delete the duplicates. Currently a file is considered a duplicate if it has the same name, later we will make a check on the file size as well.

The part of the file system you want to keep is called the keeps, and the part with possible duplicates is called the dups, so far suspected by not convicted.

Each part of the file system the keeps and dups are specified by a list of directories you set in the parameter file, parameters.py ( see reference at:..... ).

Additionally you may specify how down from a starting directory you want to search and what filter you want to apply to the files.

The application then has 4 phases, 0 to 3.

0 -- show you the setup of the application. 1 -- build and empty database for indexing files 2 -- scan and index the dups or possible duplicate files 3 -- scan and process the dups deleting ( or otherwise processing the files )

The Controls

Control is mostly through buttons. There are two lists at the bottom, clicking on one puts a "snippet" in the clipboard, clicking on the other opens a "snip file" in your system's editor. Outside of the GUI there is also a parameter file which controls start up, your preferred system editor, and many other setting.

Working from top to bottom:

At the Top

  • <Window title> Program name and some additional info including version, mode, and the name of any "extra" parameter file ( see Smart Terminal Parameter Examples ).
  • <ID Color Band >The red band under the title is an optional component, its height and color is set in the parameter file. It is normally useful only if you are running 2 similar looking applications and want a quick way to tell them apart.


Top Button Row

  • <Edit Log> opens an editor on the system ( needs to be configured in parameter file self.ex_editor = <name of executable or link> ) to view the python logging file for the app.
  • <Edit Parms > opens an editor on the system to edit the parameters.py file. See <Edit Log>.
  • <Restart> Restarts the application ( usually fast ) using new values ( if any ) in the parameter file(s).
  • <Help> Will open some sort of help file, text, pdf, or url, depending on configuration in parameter file.
  • <About> More or less standard help box.
  • <Test> May not be present, for debugging, not generally useful or predictable, you would need to look through the code to see what it might be doing, press at your own risk.