Corrected by original poster - to copy directories without files, try this:

  % cd /source/dir
  % find . -type d -depth -print | pax -rwd -pe /dest/dir

Permissions and modification times should be preserved.

-- 
Karl Vogel                      I don't speak for the USAF or my company
A codicil of lawyers            --collective nouns, June 1999 LINGUIST
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to