Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] The Mother of All (bash) Commands
- Date: Tue, 18 Mar 2008 08:22:19 -0500
- From: "Daniel A. Ramaley" <daniel.ramaley@example.com>
- Subject: Re: [tlug] The Mother of All (bash) Commands
- References: <op.t756gdbtp3esx5@mail.gol.com> <200803171322.13584.daniel.ramaley@drake.edu> <20080317210112.T39931@isris.pair.com>
- User-agent: KMail/1.9.5
On Monday 17 March 2008 20:04, Joe Larabell wrote: >> (cd /src ; tar -cf - .) | (cd /dst ; tar -xvpf -) > >So long as dst isn't a symlink to src ;-)... >(Yes, I did that once without thinking. It resulted in a tree full of >zero-length files -- with permissions properly preserved. Besides, if >both paths are on the same machine, doesn't 'cp -a' do just as well?) Ouch. Did you have backups? I'm fond of tar over "cp -a" because it prints out the file names as it copies them so i have an idea how far along it is. But if not copying much stuff, cp is certainly easier. And i prefer tar over rsync for basic copying because tar is faster. ------------------------------------------------------------------------ Dan Ramaley Dial Center 118, Drake University Network Programmer/Analyst 2407 Carpenter Ave +1 515 271-4540 Des Moines IA 50311 USA
- Follow-Ups:
- Re: [tlug] The Mother of All (bash) Commands
- From: Attila Kinali
- Re: [tlug] The Mother of All (bash) Commands
- From: Joe Larabell
- References:
- [tlug] The Mother of All (bash) Commands
- From: Greg Thomson
- Re: [tlug] The Mother of All (bash) Commands
- From: Daniel A. Ramaley
- Re: [tlug] The Mother of All (bash) Commands
- From: Joe Larabell
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Wordpress Spam
- Next by Date: [tlug] Podcast News
- Previous by thread: Re: [tlug] The Mother of All (bash) Commands
- Next by thread: Re: [tlug] The Mother of All (bash) Commands
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links