: !/bin/sh echo "cpying: [$1] NOT DONE" exit 0 # cpyimg targdir ls -altr "$1" chown catcom "$1" # copy image folder dirs and files to target directory ( cd img find . -depth -print | cpio -pvdum "../$1" ) ######################### ## copy unencodes src #( #cd src #find . -depth -print | cpio -pvdum "../$1" #) ######################### # fix owner find "$1" -depth -exec chown catcom {} \;