Jim,
If there are subdirectories in what you're copying, one way to speed things up is mounting the same pair of vols (old, new) multiple times, and running the find | cpio in each subdir. Use more than one cp host if you saturate i/o or cpu on the first one.
cd /oldvol/dir1; find . ... | cpio -dmp /newvol1/dir1 & cd /oldvol/dir2; find . ... | cpio -dmp /newvol2/dir2 &
What I am seeking is a bit like folklore.
How about a spam filter that bounces any posts that don't contain keywords? "filer, vol, ndmp, spam" ?
-----Original Message----- From: Jim Davis To: toasters@mathworks.com Sent: 3/13/03 2:47 PM Subject: Moving files but not .snapshots?
I want to move two big directories from an old volume to a new volume, but just the files -- not the snapshot subdirectories. So far I've tried
find . -type d -name '.snapshot' -prune -o -print | cpio -pdm /newvol
from the adminhost, which works but isn't blazingly fast. Are there any other ways people can suggest?