Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
# find all duplicate files find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -dD # list only first match in duplicates find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -d # list only the filename of first match find . ! -empty -type f -exec md5sum {} + | sort | uniq -w32 -d|cut -c 35- #---- using fdupes # List Duplicates fdupes -r . # -f Omit the first file in each set of matches fdupes -r -f . # list and select Duplicates fdupes -r -d . # auto delete, be careful with this fdupes -r -f . | grep -v '^$' | xargs -I {} rm -v "{}" fdupes -r -f . | grep -v '^$' |while read file;do rm -v "$file";done
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)