Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #176291
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Duplicating a partition's directory structure - How? |
| Date | 2017-01-03 19:30 +0100 |
| Message-ID | <sVC0q-1Og-25@gated-at.bofh.it> (permalink) |
| References | <sVvii-5p4-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
In order to separate reading from writing or to store the directory structure
for several writings one can use find and tar:
find PATH -xdev -type d -print0 \
| tar cf FILE --no-recursion --null --files-from -
The directories will be stored in the file FILE. It can be extracted with
tar xpf FILE -C DESTINATION
where directory DESTINATION must already exist.
Regards,
jvp.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
Duplicating a partition's directory structure - How? Richard Owlett <rowlett@cloud85.net> - 2017-01-03 12:20 +0100
Re: Duplicating a partition's directory structure - How? Sven Joachim <svenjoac@gmx.de> - 2017-01-03 12:30 +0100
Re: Duplicating a partition's directory structure - How? Dan Ritter <dsr@randomstring.org> - 2017-01-03 13:00 +0100
THANK YOU! - was [Re: Duplicating a partition's directory structure - How?] Richard Owlett <rowlett@cloud85.net> - 2017-01-03 14:10 +0100
Re: Duplicating a partition's directory structure - How? hdv@gmail <hdv.jadev@gmail.com> - 2017-01-03 14:30 +0100
Re: Duplicating a partition's directory structure - How? Richard Owlett <rowlett@cloud85.net> - 2017-01-03 14:40 +0100
Re: Duplicating a partition's directory structure - How? Charlie <ariestao1@ipstarmail.com.au> - 2017-01-03 23:50 +0100
Re: Duplicating a partition's directory structure - How? hdv@gmail <hdv.jadev@gmail.com> - 2017-01-03 14:30 +0100
Re: Duplicating a partition's directory structure - How? Jörg-Volker Peetz <jvpeetz@web.de> - 2017-01-03 19:30 +0100
csiph-web