Welcome to SparkyLinux forumsZapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl
Started by paxmark1, November 06, 2020, 04:52:49 PM
QuoteA deletion without a query takes place with the parameter -N. When this parameter -Nis used, the first hit is always received and all other files are deleted.ATTENTION: The first file that is fdupesaccepted is not always the file that you want to receive.The use of the parameter is much "safer" -L(creates hard links instead of deleting them).This parameter is, for example: in fdupes 1.50-PR2.#> fdupes ./ -rL ./anderer_ort/File2-Kopie1.txt[h] ./File2-Kopie1.txt[h] ./File2.txt ./File1-Kopie2.txt[h] ./anderer_ort/File1-Kopie2.txt[h] ./anderer_ort/File1-Kopie1.txt[h] ./File1.txt[h] ./File1-Kopie1.txt12345678910 #> fdupes ./ -rL ./anderer_ort/File2-Kopie1.txt[h] ./File2-Kopie1.txt[h] ./File2.txt ./File1-Kopie2.txt[h] ./anderer_ort/File1-Kopie2.txt[h] ./anderer_ort/File1-Kopie1.txt[h] ./File1.txt[h] ./File1-Kopie1.txtThe "[L]" indicates that the file has now been linked by hard links. As a result, the file is still available in all directories, but only takes up the storage space once.You can see this from the inodes of the files.
Quotejdupes is a program for identifying and taking actions upon duplicate files.A WORD OF WARNING: jdupes IS NOT a drop-in compatible replacement for fdupes! Do not blindly replace fdupes with jdupes in scripts and expect everything to work the same way. Option availability and meanings differ between the two programs. For example, the -I switch in jdupes means "isolate" and blocks intra-argument matching, while in fdupes it means "immediately delete files during scanning without prompting the user."
QuoteWhy use jdupes instead of the original fdupes or other duplicate finders?The biggest reason is raw speed. In testing on various data sets, jdupes is over 7 times faster than fdupes-1.51 on average.jdupes provides a native Windows port. Most duplicate scanners built on Linux and other UNIX-like systems do not compile for Windows out-of-the-box and even if they do, they don't support Unicode and other Windows-specific quirks and features.jdupes is generally stable. All releases of jdupes are compared against a known working reference versions of fdupes or jdupes to be certain that output does not change. You get the benefits of an aggressive development process without putting your data at increased risk.Code in jdupes is written with data loss avoidance as the highest priority. If a choice must be made between being aggressive or careful, the careful way is always chosen.
View the most recent posts on the forum