Linux and data storage?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



And my example tar command is probably not the most advisable. Better to
do something like:
tar -cjpf /tmp/karen.tbz ../karen/

You want a tar archive file that will create a directory when you
uncompress and copy all your files into that directory.
Luke Davis writes:
> A word to Karen: if you do any of the tarish things discussed in this 
> thread, be certain to delete the backup archive, after it has completed 
> its transit.  /tmp is only cleared on reboot, and that usually only 
> happens 1.5 times per year.
> 
>  On Mon, 27 Sep 2004, Janina Sajka wrote:
> 
> >Yes, this is useful. It's probably beyond what she needs to be concerned
> >about, but certainly useful.
> >
> >Luke Davis writes:
> >>On Mon, 27 Sep 2004, Janina Sajka wrote:
> >>
> >>>600 certainly does help. Can you build a tar and chmod at the same time?
> >>
> >>Hmm, an interesting question.  There are two ways to test this idea, which
> >>I will now attempt...
> >>
> >>Starting the tar process in one window (using screen), and in another
> >>listing the file in /tmp, shows, 644.  Doing a chmod to 600, while the tar
> >>is still in progress, then listing the file again, shows 600.  So that
> >>solution appears to work, as would, of course, backgrounding the tar
> >>process, and changing the mode.
> >>
> >>The other method:
> >>
> >>touch /tmp/ldtf.tbz
> >>chmod 600 /tmp/ldtf.tbz
> >>tar --bzip2 -cf /tmp/ldtf.tbz ~/
> >>
> >>also acomplishes the task of keeping the file private, so I suppose the
> >>answer is yes, in all possible ways.
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup

-- 
	
				Janina Sajka, Chair
				Accessibility Workgroup
				Free Standards Group (FSG)

janina at freestandards.org	Phone: +1 202.494.7040





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux