PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > MD5 checksums from downloaded pdfs to prevent duplication
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

MD5 checksums from downloaded pdfs to prevent duplication

Réponse
 
LinkBack Outils de la discussion
Vieux 21/04/2008, 02h53   #1
Rahul
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut MD5 checksums from downloaded pdfs to prevent duplication

I end up downloading duplicate (or more!) copies of journal papers (pdf)
since sometimes one forgets that one already has a copy. Annoying. I was
trying to think of a way to prevent this. My existing bibliographic s/w
(Endnote) is not too good at ing me out.

Would MD5 checksums be a good workaround? Every time I do a download:

create a MD5 checksum
if absent in log:
download pdf
add MD5 checksum to log
else:
blow up.

A lot of this work is on a WinXP machine but since I have the drive
Samba-mapped to my RHEL box I guess I can generate / check the MD5-sums
from the much-better Linux command line.

Any opinions / caveats? ....or "stupid idea"?


--
Rahul
  Réponse avec citation
Vieux 21/04/2008, 08h26   #2
pk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: MD5 checksums from downloaded pdfs to prevent duplication

On Monday 21 April 2008 03:53, Rahul wrote:

> Would MD5 checksums be a good workaround? Every time I do a download:
>
> create a MD5 checksum
> if absent in log:
> download pdf
> add MD5 checksum to log
> else:
> blow up.
>
> A lot of this work is on a WinXP machine but since I have the drive
> Samba-mapped to my RHEL box I guess I can generate / check the MD5-sums
> from the much-better Linux command line.
>
> Any opinions / caveats? ....or "stupid idea"?


If you download stuff from the command line, then I see no major problems in
doing what you want (apart from the obvious fact that, to calculate the md5
of a file, you still have to download it...but you can do that in a
temporary directory).
How were you thinking to implement that?

And, this is way OT, but I suggest you try zotero instead of endnote.

--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h43.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12640 seconds with 10 queries