What's wrong with the following command?

Hi all,

I'm trying to run the following command to get all files in one directory to another with the files' timestamps preserved,

cp -p /logs/dvgbiau/batch/* /logs/dvgbiau/tmp_batch

Note that ./batch and ./tmp_batch are two sub-directories under /logs/dvgbiau.

The error was,

"Segmentation Fault (core dumped)"

Apparently there's a bug in my command? I tried the below command and all files got copied without an error (I removed the option "-p"),

cp /logs/dvgbiau/batch/* /logs/dvgbiau/tmp_batch

Any suggestions?

Thanks

Ok. What UNIX OS are you on? As a starting guess I would think your directory metadata is corrupted. There are other possibilities.