[ Fdupes ] [ 2.2.1 ] a program for identifying duplicate files residing within specified directories.

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ Fdupes ] [ 1.61 ] a program for identifying duplicate files residing within specified directories.

Post by QNAP_Stephane »

it needs arm64 (not sure i built it)
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
parkerc
Easy as a breeze
Posts: 314
Joined: Thu Oct 16, 2014 7:36 am
Location: Near London, England
Contact:

Re: [ Fdupes ] [ 1.61 ] a program for identifying duplicate files residing within specified directories.

Post by parkerc »

Hi

Is it possible to change the default fdupes command line that’s currently used, as the current one includes so many hidden files ? :(

I assume the current default scan built into the app/plugin is something like this

Code: Select all

$ fdupes /share/Public/fdupes.output
Yet, I understand to exclude hidden files, you would do the following fdupes Option ?

Code: Select all

$ fdupes -A /share/Public/fdupes_nohidden.output
Model Name : QNAP TS-253be (16GB) & TS-453D (16GB)
Firmware Version:: QTS Latest
OS Version : Apple iOS (iPad/Safari Browser)
Number & Type of HDDs : 2 x 3TB WD Reds, Raid 1 & 4 x 4TB WD Reds, Raid 5
Website (When I have time) : http://www.nodecentral.co.uk
User avatar
parkerc
Easy as a breeze
Posts: 314
Joined: Thu Oct 16, 2014 7:36 am
Location: Near London, England
Contact:

Re: [ Fdupes ] [ 1.61 ] a program for identifying duplicate files residing within specified directories.

Post by parkerc »

This is such a great app, but the output file for me is huge (90mb+), and is difficult to read via a text viewer, as the list/text seems to be all wrapped

Note: A huge portion of the duplicates found are of hidden thumbnails, hence any help with my earlier post above would be greatly appreciated ? 🙏

In the meantime, how are people viewing their duplicates - is there an app/tool better suited compared to standard text file viewer?
Model Name : QNAP TS-253be (16GB) & TS-453D (16GB)
Firmware Version:: QTS Latest
OS Version : Apple iOS (iPad/Safari Browser)
Number & Type of HDDs : 2 x 3TB WD Reds, Raid 1 & 4 x 4TB WD Reds, Raid 5
Website (When I have time) : http://www.nodecentral.co.uk
User avatar
parkerc
Easy as a breeze
Posts: 314
Joined: Thu Oct 16, 2014 7:36 am
Location: Near London, England
Contact:

Re: [ Fdupes ] [ 1.61 ] a program for identifying duplicate files residing within specified directories.

Post by parkerc »

Finally managed to work it out the hidden file issue, so many thumbnail duplicates are found !!.

If I edit the index.php file the fdupes.qpkg installs do that the wheel command is as follows, it ignores all the hidden files when reporting (huge time/space saver)

Code: Select all

 shell_exec("fdupes -ASr /share > /share/Public/fdupes.output");
Model Name : QNAP TS-253be (16GB) & TS-453D (16GB)
Firmware Version:: QTS Latest
OS Version : Apple iOS (iPad/Safari Browser)
Number & Type of HDDs : 2 x 3TB WD Reds, Raid 1 & 4 x 4TB WD Reds, Raid 5
Website (When I have time) : http://www.nodecentral.co.uk
giopas
Been there, done that
Posts: 855
Joined: Thu Mar 26, 2015 12:36 am
Location: somewhere in EU

Re: [ Fdupes ] [ 1.61 ] a program for identifying duplicate files residing within specified directories.

Post by giopas »

Just a question, where would you put that command string and what would it do exactly? Thanks!

Sent from my ONEPLUS A5000 using Tapatalk

Qnap TS-253Pro 16Gb RAM - Single Storage Pool: 2 WRed 4TB (RAID 1)
Qnap TS-453A 16Gb RAM - Single Storage Pool: 4 WRed 4TB (RAID 5)
User avatar
parkerc
Easy as a breeze
Posts: 314
Joined: Thu Oct 16, 2014 7:36 am
Location: Near London, England
Contact:

Re: [ Fdupes ] [ 1.61 ] a program for identifying duplicate files residing within specified directories.

Post by parkerc »

giopas wrote: Sun Nov 17, 2019 7:36 pm ...where would you put that command string ....
Locate the .qpkg folder that’s created for fdupes via its install package, and edit the index.php file that was created so that the button on the web page executes a different command.

Code: Select all

 <?php
if ($_POST['launch']!="")
{
  shell_exec("fdupes -ASr /share > /share/Public/fdupes.output");
?>
giopas wrote: Sun Nov 17, 2019 7:36 pm ... and what would it do exactly? ..
This command line ignores the hidden files, which I found to be huge numbers on QNAP, and groups the duplicates by size.
Model Name : QNAP TS-253be (16GB) & TS-453D (16GB)
Firmware Version:: QTS Latest
OS Version : Apple iOS (iPad/Safari Browser)
Number & Type of HDDs : 2 x 3TB WD Reds, Raid 1 & 4 x 4TB WD Reds, Raid 5
Website (When I have time) : http://www.nodecentral.co.uk
Televisi
Starting out
Posts: 25
Joined: Tue Jul 03, 2018 10:07 pm

Re: [ Fdupes ] [ 1.61 ] a program for identifying duplicate files residing within specified directories.

Post by Televisi »

Hi,

Thanks for the package; do you have any plan to update fdupes to version 2.1.2?

Thanks
Post Reply

Return to “Community Apps”