Article 6GMPW adding date-string to filenames (deduplicating)

adding date-string to filenames (deduplicating)

by
john99
from LinuxQuestions.org on (#6GMPW)
Hi all

in the past I copied files and folders to a backup-folder and added the date of the backup manually to that folder.

Now/today it's time for deduplication :(

The simplest way I could imagine is a script that would add date and time to a file, cor the case there are serveral version available.

That script should check/look in subfolders as well (because there are many backup-filders).

If there are identical files, only one version should be kept.

Questions:
1.
Is this a good idea?

2.
How would such s script look like?

Thank's a lot in advance for every feedback!

John

PS
I am working with Debian/Ubuntu/Mint
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments