Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: File change info on upload to server
- Date: Sat, 12 Apr 2008 19:28:31 +1000
- From: "Jim Breen" <jimbreen@example.com>
- Subject: [tlug] Re: File change info on upload to server
- References: <5634e9210804120107v279a3a3bk2800ec9ab1a94553@mail.gmail.com>
On 12/04/2008, Jim Breen <jimbreen@example.com> wrote: > Chuck asked: > > > > I don't need to know the information on my end. This is for the purpose > > > of the people who are downloading my files, who want to know if the file > > > has changed since the last time they downloaded it. Apparently the file is > > > supposed to be flagged in some sort of way when it is updated. > > For a couple of the files I maintain, I upload a datestamp file. See > http://www.csse.monash.edu.au/~jwb/examples_date for one of these. > People who want to see if it the file has changed simply need to grab > that file periodically: > > .... > mv datestamp datestamp_prev > wget http://......./datestamp > set x=`diff datestamp datestamp_prev` What I *really* meant was: set x=`diff datestamp datestamp_prev | wc -l' > if ($x > 0) then > ...[download the new file > endif > ... Jim -- Jim Breen Honorary Senior Research Fellow Clayton School of Information Technology, Monash University, VIC 3800, Australia http://www.csse.monash.edu.au/~jwb/
- Follow-Ups:
- Re: [tlug] Re: File change info on upload to server
- From: Charles Muller
- Re: [tlug] Re: File change info on upload to server: matching punctuation
- From: jep200404
- References:
- [tlug] Re: File change info on upload to server
- From: Jim Breen
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] The Great Mistake is thinking OOo is different [was: Why Vista Sucks]
- Next by Date: Re: [tlug] Re: File change info on upload to server
- Previous by thread: [tlug] Re: File change info on upload to server
- Next by thread: Re: [tlug] Re: File change info on upload to server
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links