Re: Archive Question
2000-02-24 15:53:28
Dwight,
That is what I am doing..
Bill
"Cook, Dwight E" <cookde AT BP DOT COM> on 02/24/2000 02:46:23 PM
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
cc: (bcc: Bill Maloney/SSC/US/PepBoys)
Subject: Re: Archive Question
just do a
for FILE in $(voodoomagictogetalistoffiles)
do
dsmc archive -deletefile -pass=blah $FILE
done
where your voodoo magic could be a simple "cat blah" where blah is a file
which contails a list of the files to archive
Dwight
> ----------
> From: Richard Sims[SMTP:rbs AT BU DOT EDU]
> Reply To: ADSM: Dist Stor Manager
> Sent: Thursday, February 24, 2000 1:08 PM
> To: ADSM-L AT VM.MARIST DOT EDU
> Subject: Re: Archive Question
>
> >I have a request from a user to archive files in a directory that are
> older than
> >7days and then delete them. The delete option is easy enough but I did
> not find
> >any "fromtime" archive option to specify particular dates. I figured I
> would
> >create a script that basically did a find command with the mtime option
> and then
> >feed that into the dsmc archive command line. The problem I have here is
> that
> >the amount of files is in the range of 20,000 and I do not believe adsm
> can
> >handle that amount of input parameters.
>
> Bill - A very legitimate requirement...something we've long needed the
> client
> to support, but still doesn't. The tragedy is that it's quite
> simple
> to implement, to have the client take the list via stdin redirection
> (like 'dsmc archive < the_list'); or even give us a command line option
> like
> "-speclist <FileName>". A client developer could make a lot of points
> with
> the client base if this got casually introduced (nudge-nudge).
>
> Consider going the ADSM-R route.
>
> (Note that the input list limit is actually a shell limit; but in any
> case,
> thousands is just too many to be realistic as command line arguments.)
>
> Richard Sims, BU
>
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Archive Question, Bill Maloney
- Re: Archive Question, Burton, Robert
- Re: Archive Question, Gary Ison
- Re: Archive Question, Richard Sims
- Re: Archive Question, France, Don (Pace)
- Re: Archive Question, Gary Ison
- Re: Archive Question, Bill Maloney
- Re: Archive Question, Kelly Lipp
- Re: Archive Question, Cook, Dwight E
- Re: Archive Question, Mike Dile
- Re: Archive Question,
Bill Maloney <=
- Archive Question, Bill Maloney [mailto:Bill_Maloney
- Archive Question, Bill Maloney [mailto:Bill_Maloney
- Re: Archive Question, ADSM : Dist Stor Manager [mailto:ADSM-L
|
|
|