Lädt...

🐧 I am thinking of writing a tool for deleting files and saving hashes of deleted files, so that other versions of these files can be identified and deleted later


Nachrichtenbereich: 🐧 Linux Tipps
🔗 Quelle: reddit.com

A lot of my files (e.g., photos) exist several times on several hard drives. If I want to delete a file (e.g., blurry image) I have to go to all hard drives and delete it there, otherwise I am wasting disk space. For individual files this is not really a problem, and also not a hige waste of space. But for many files this accumulates.

So my plan is to write an application which maintains a list of files that you don't want anymore. Files would be identified by their hash.

A possible workflow is (I haven't decided for a name yet):

app_name --delete file.jpg 

This will delete the file and add the filename and hash (and maybe size) to a database (sqlite or simple text file) marked as "deleted". Then if I connect a storage device (mounted at /mnt) I would type:

app_name --delete-deleted-files /mnt 

And the program would check for files which match a "deleted" file in the data base.

This last step would probably last rather long on large disks (folders), but one could run this as a maintenance task over night.

Before I start:

  • Are there programs like this already? I couldn't find any.
  • Does anyone else find this useful?
  • Which features and interface would you expect?
submitted by /u/_szs
[link] [comments] ...

🐧 [update] a tool for deleting files and saving the hashes of the deleted files...


📈 69.42 Punkte
🐧 Linux Tipps

🔧 Thất nghiệp tuổi 35


📈 38.33 Punkte
🔧 Programmierung

🐧 I accidentally deleted the files by using rm command. How do I recover these deleted files?


📈 36.69 Punkte
🐧 Linux Tipps

📰 How The FBI Identified That Masked Arsonist Identified and Jailed Because of Her Etsy Review


📈 32.24 Punkte
📰 IT Security Nachrichten

📰 EDRaser - Tool For Remotely Deleting Access Logs, Windows Event Logs, Databases, And Other Files


📈 31.93 Punkte
📰 IT Security Nachrichten

🔧 Understanding Where Deleted Files Go After Deleting them from Recycle Bin and How to Recover Them


📈 30.84 Punkte
🔧 Programmierung

🐧 Installed Ubuntu alongside win10, later deleted Ubuntu partitions and now can’t boot Windows


📈 26.17 Punkte
🐧 Linux Tipps

📰 WhatsApp Isn't Fully Deleting Its 'Deleted' Chats


📈 26.14 Punkte
📰 IT Security

📰 WhatsApp Isn't Fully Deleting Its 'Deleted' Chats


📈 26.14 Punkte
📰 IT Security

📰 Facebook Blames a 'Bug' For Not Deleting Your Seemingly Deleted Videos


📈 26.14 Punkte
📰 IT Security Nachrichten

🐧 iOS 14.3 Deleting Widgets? How To Get Your Deleted iPhone Widgets


📈 26.14 Punkte
🐧 Linux Tipps

📰 World Backup Day: Saving the day by saving data


📈 26.1 Punkte
📰 IT Security Nachrichten

🐧 Help I’m an idiot! I deleted these initramfs files now I can’t boot!!!


📈 25.52 Punkte
🐧 Linux Tipps

🔧 Reverse Thinking and Sequential Thinking: A Comparison in Setting Life Goals (Bite-size Article)


📈 24.25 Punkte
🔧 Programmierung

📰 Microsoft fixes Word bug that deleted documents when saving


📈 23.92 Punkte
📰 IT Security Nachrichten

📰 Design Thinking vs. Future Thinking: Kalter Kaffee im Thermobecher


📈 23.63 Punkte
📰 IT Nachrichten

🔧 Thinking Outside the Code: Develop Creative Thinking Ability in Software Engineering


📈 23.63 Punkte
🔧 Programmierung

🔧 What is Design Thinking? Understanding the Design Thinking Process.


📈 23.63 Punkte
🔧 Programmierung

📰 Clausewitz Paradox: When Thinking About Thinking Becomes Routine


📈 23.63 Punkte
📰 IT Security Nachrichten

🐧 Why does deleting files take time to start on big amounts of files


📈 23.42 Punkte
🐧 Linux Tipps

📰 Can a computer itself be identified like an IP address can?


📈 23.37 Punkte
📰 IT Security Nachrichten

📰 I tested 9 AI content detectors - and these 2 correctly identified AI text every time


📈 23.22 Punkte
📰 IT Nachrichten

📰 I tested 10 AI content detectors - and these 3 correctly identified AI text every time


📈 23.22 Punkte
📰 IT Nachrichten

🎥 Can an AI writing assistant match my personal writing style?


📈 23.11 Punkte
🎥 Videos

🐧 Vim Is Saving Me Hours of Work When Writing Books & Courses


📈 22.71 Punkte
🐧 Linux Tipps

matomo