The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Copying a Directory Structure to a new structure
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Copying a Directory Structure to a new structure
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
07-27-2005
vino
Supporter (in vino veritas)
Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,798
I assume that your find is something like this
find /dir1 -name '*.dbf'
In that case, use
tar cvf - `find /dir1 -name '*.dbf'` > dir1.tar
Whatever your find is, put it betwen the backticks
` `
.
Go to /newdir and untar the dir1.tar
vino
vino
View Public Profile
Find all posts by vino
Find vino's past nominations received
Find vino's present nominations given