[nmglug] filezilla auto delete script file contents

a a at kaluta.us
Wed Jun 29 07:31:19 PDT 2011


Re: A website were I upload .jpg's generated by a security camera using
that website as an offsite repository for those jpg's.

When I use the ftp site personally I use sftp.

In order to limit the size of the offsite repository website,
I would like,for example,to delete those uploaded jpg's every two days.

Anyway Hope I have more clearly defined the problem.

Casting around the internet has not yet given me a toe hold on the
concept,welcome any further insights.

Thanks

Anthony

On Wed, 2011-06-29 at 06:11 -0600, Eric Krieger wrote:
> May be I'm missing something.  Are you SFTPing or FTPing to a
> particular site and want to remove the contents of that or are you
> referring to a local directory on a linux server or workstation?  I
> guess where does filezilla fit in?
> 
> Thanks,
> 
> - Eric
> 
> 
> 
> 
> On Wed, Jun 29, 2011 at 5:57 AM, a <a at kaluta.us> wrote:
> > Would like to use the following script with crontab to delete specific
> > file contents situated on filezilla.
> >
> > "find /path/to/files* -mtime +5 -exec rm {} \;"
> >
> > What is the "/path/to/files*" without using a "logon to filezilla
> > script"?
> >
> > Anyone have any experience with this seemingly common task,to date, have
> > been unable to find an effective solution on the internet?
> >
> > Best
> > Anthony
> >
> > _______________________________________________
> > nmglug mailing list
> > nmglug at lists.nmglug.org
> > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
> >
> _______________________________________________
> nmglug mailing list
> nmglug at lists.nmglug.org
> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org




More information about the nmglug mailing list