Home | Mirror | Search

2. cpio - copy files to and from archives

		
find /opt -print | cpio -o > opt.cpio

find . -type f -name '*.sh' -print | cpio -o | gzip >sh.cpio.gz

cpio –i < opt.cpio
		
		
comments powered by Disqus