find . -depth -print0 | cpio --null --sparse -pvd /new/directoryThat's it. A 1:1 copy of your filesystem hierarchy is deposited in the new directory. It saved my day.
reviews, tips and tricks, opinions about open and less open technology
find . -depth -print0 | cpio --null --sparse -pvd /new/directoryThat's it. A 1:1 copy of your filesystem hierarchy is deposited in the new directory. It saved my day.
Posted by
m. s.
at
12:25
Labels: copy, filesystem, linux, partitions, shell, unix
No comments:
Post a Comment