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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to