thank you , i am checking this..... On Sun, Feb 19, 2012 at 10:47 PM, 0 <[email protected]> wrote:
> > > > > xargs: unterminated quote > > > > Your filenames probably contain quotes and other messy characters which > unix does not like. You can resolve this by using the options -print0 > and -0 in find and tar respectively. (NOTE: Option uses number 0 and not > character O). > > $ find / -mtime 1 -print0 | xargs -0 tar -czvf backup.tgz > $ tar -xzvf backup.tgz -C <outdir> > > > > > > > On Sun, Feb 19, 2012 at 9:44 PM, 0<[email protected]> wrote: > > > >> > >>> > >>> find / -mtime 1 > >>> > >>> how can i send this output to a directory for take backup. > >>> > >> > >> tar it and untar it later, something like, > >> > >> $ find / -mtime 1 | xargs tar -czvf backup.tgz > >> $ tar -xzvf backup.tgz -C<outdir> > >> > > -- > 0 > _______________________________________________ > ILUGC Mailing List: > http://www.ae.iitm.ac.in/mailman/listinfo/ilugc > _______________________________________________ ILUGC Mailing List: http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
