adrianlopezroche / fdupes

FDUPES is a program for identifying or deleting duplicate files residing within specified directories.
2.47k stars 186 forks source link

fdupes: reduce typing for preserve all during interactive #43

Closed sandrotosi closed 6 years ago

sandrotosi commented 8 years ago

From @sandrotosi on December 20, 2015 14:4

From matrixhasu on October 08, 2009 21:57:09

Debian bug #383965 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=383965 I would like to have an option for the interactive mode to be able to just preserve all files by pressing enter instead of typing "all" and then pressing enter. 3 extra characters might not seem like much, but it gets tiring when you have lots of files to review. For now, I'll use the mouse to paste "all\n".

[1] ./home/pabs/projects/chm/samples-itolitls/-help2/TestCol.HxF [2] ./home/pabs/patches/the_clit/clit12/z/TestCol.HxF

Set 76 of 1784, preserve files [1 - 2, all](220 bytes each): ---> Should skip to the next set after this Set 76 of 1784, preserve files [1 - 2, all](220 bytes each): Set 76 of 1784, preserve files [1 - 2, all](220 bytes each): all

Version: 1.40

Original issue: http://code.google.com/p/fdupes/issues/detail?id=2

Copied from original issue: sandrotosi/fdupes-issues#2

sandrotosi commented 8 years ago

From empee584 on January 29, 2011 14:29:29

Actually, pressing ENTER should be enough to skip a file set and keep all files...!

sandrotosi commented 8 years ago

From adrianlo...@gmail.com on March 03, 2011 11:31:18

New interactive mode will make it possible to preserve all duplicates by pressing the "A" key without also having to press the "Enter" key.

Status: Accepted

sandrotosi commented 8 years ago

From adrianlo...@gmail.com on March 03, 2011 11:47:35

Status: Started

ghost commented 6 years ago

Was this ever implemented? Pressing enter just repeats the prompt for me in 1.51.

ghost commented 6 years ago

That's a good point jbruchon.

adrianlopezroche commented 6 years ago

Typing 'a' for 'all' in master branch, commit 88f3d2dd31fbef7e539b2523724221e8e8e5a9f0.