Python Forum
a future project for some day
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a future project for some day
#1
i did implement this in C but want to add features i didn't have time for, so i set it aside. soon, i want to re-do the whole thing in Python.

this program scans (iterates?) through a file tree keeping track of regular files as it goes, particularly inodes, sizes, and times. when it encounters a file with the same size and different inode (and different time unless opted not to consider this), it will read the files and calculate a (probably strong, can be specified) checksum. if the checksum has previously been calculated, then the saved copy will be used. if 2 files (different inodes) are found to have the same checksum (and maybe also the same date/time, definitely also the same size and same filesystem), they will be assumed to be identical and will be hard linked together. the goal is to avoid duplicate space in subtrees where hardlinking doesn't matter.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
a future project for some day - by Skaperen - Apr-22-2018, 03:40 AM
RE: a future project for some day - by ljmetzger - Apr-22-2018, 01:49 PM
RE: a future project for some day - by Gribouillis - Apr-22-2018, 02:12 PM
RE: a future project for some day - by Skaperen - Apr-23-2018, 02:52 AM
RE: a future project for some day - by Skaperen - Apr-23-2018, 06:14 AM
RE: a future project for some day - by Gribouillis - Apr-23-2018, 06:39 AM
RE: a future project for some day - by Skaperen - Apr-24-2018, 02:10 AM
RE: a future project for some day - by Skaperen - Apr-24-2018, 03:12 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PEP 572 and Future svetlanarosemond 8 5,560 Jul-16-2018, 08:40 PM
Last Post: micseydel
  a future project: hardlink identical files Skaperen 4 4,081 Dec-18-2017, 03:38 AM
Last Post: Skaperen
  a future project: recursive file list Skaperen 0 2,298 Dec-14-2017, 03:55 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020