viernes, 22 de mayo de 2009

cp command excluding files

This command copies the files in a given directory to a target-directory excluding a specific file name

cp `find ./Si-IHW-bks-300K/* -not -name HISTORY` NPT/IHW-bks-300K

For example, it copies all files coming from a dl_poly run to another directory excluding the HISTORY file

No hay comentarios: