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