1834153 Members
1921 Online
110064 Solutions
New Discussion

Copy DUMP

 
Marcelo De Florio
Frequent Advisor

Copy DUMP

I need a copy /var/adm/crash/crash.x to anhoter directory, I think execute the following command:

tar cvf /tmp/hp/dump.date /var/adm/crash/*
and then rm /var/adm/crash/*

Is this posible ?

MDF
1 REPLY 1
Stefan Farrelly
Honored Contributor

Re: Copy DUMP


You can just copy it with;

cp -R /var/adm/crash/*

Then remove the original with rm -rf /var/adm/crash/*

or do it in one move command;

mv /var/adm/crash/*

which will copy then delete the original
Im from Palmerston North, New Zealand, but somehow ended up in London...