Re: [lftp] Compressing data at destination machine
On Tue, Dec 02, 2014 at 09:53:08PM +0530, akshay gupta wrote: > I have tried using it. It does not update the files appearing in the mount > point if the files in zip changes. And it also does not retains > modification time of the file at the mount location this could affect the > mirror. You have to unmount it before changing the zip file. > Do you have any other similar opensource software in mind that could also > support writes. You can try the other way: ftpfs. -- Alexander. > On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov wrote: > > > On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote: > > > I dont want lftp to extract data from archives, I want it to compress it > > > into archive so that it occupies less space at the destination side. Is > > > this feasible to do in lftp? > > > > Take a look at zipfs: https://github.com/hanwen/go-fuse > > > > Unfortunately it is read-only. > > > > So you can mount a zip file, run mirror over it with --script option, run > > the script with an empty target directory, then run zip to update the > > archive. > > > > -- > >Alexander. > > > ___ > lftp mailing list > lftp@uniyar.ac.ru > http://univ.uniyar.ac.ru/mailman/listinfo/lftp ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] Compressing data at destination machine
I have tried using it. It does not update the files appearing in the mount point if the files in zip changes. And it also does not retains modification time of the file at the mount location this could affect the mirror. Do you have any other similar opensource software in mind that could also support writes. Thanks, Akshay On Fri, Nov 28, 2014 at 1:06 PM, Alexander V. Lukyanov wrote: > On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote: > > I dont want lftp to extract data from archives, I want it to compress it > > into archive so that it occupies less space at the destination side. Is > > this feasible to do in lftp? > > Take a look at zipfs: https://github.com/hanwen/go-fuse > > Unfortunately it is read-only. > > So you can mount a zip file, run mirror over it with --script option, run > the script with an empty target directory, then run zip to update the > archive. > > -- >Alexander. > ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] Compressing data at destination machine
On Fri, Nov 28, 2014 at 11:55:07AM +0530, akshay gupta wrote: > I dont want lftp to extract data from archives, I want it to compress it > into archive so that it occupies less space at the destination side. Is > this feasible to do in lftp? Take a look at zipfs: https://github.com/hanwen/go-fuse Unfortunately it is read-only. So you can mount a zip file, run mirror over it with --script option, run the script with an empty target directory, then run zip to update the archive. -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] Compressing data at destination machine
I dont want lftp to extract data from archives, I want it to compress it into archive so that it occupies less space at the destination side. Is this feasible to do in lftp? On Wed, Nov 26, 2014 at 11:33 AM, Alexander V. Lukyanov wrote: > On Tue, Nov 25, 2014 at 06:44:32PM +0530, akshay gupta wrote: > > I want to store the data that is being pulled by lftp mirror job in a > > compressed format. Is it possible that mirror function can check file > > download status from inside of that tar, zip etc. Is it possible to > > implement such a functionality in lftp? > > I don't think mirror will be able to extract compressed archives, but > you can download the archive and extract it at the same time, like this: > > lftp> cat file.tar.gz | tar xv > > -- >Alexander. > ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
Re: [lftp] Compressing data at destination machine
On Tue, Nov 25, 2014 at 06:44:32PM +0530, akshay gupta wrote: > I want to store the data that is being pulled by lftp mirror job in a > compressed format. Is it possible that mirror function can check file > download status from inside of that tar, zip etc. Is it possible to > implement such a functionality in lftp? I don't think mirror will be able to extract compressed archives, but you can download the archive and extract it at the same time, like this: lftp> cat file.tar.gz | tar xv -- Alexander. ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp
[lftp] Compressing data at destination machine
Hi, I want to store the data that is being pulled by lftp mirror job in a compressed format. Is it possible that mirror function can check file download status from inside of that tar, zip etc. Is it possible to implement such a functionality in lftp? Thanks, Akshay ___ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp