Okke's new blog
My thoughts and pointers (mainly just for myself) on Django development.
About Me
Okke
View my complete profile
Friday, January 28, 2011
Merge two directories on Linux using Tar
From
linuxquestions.org
:
tar cf - . |(cd /targetdir; tar xvf -)
or
alias merge=
pushd $1 | tar cf - . |
(cd $2; tar xvf -); popd
(untested)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment