linux - Moved a file by mistake with certain time stamp want to restore files with same time satmp -


by mistake moved file want them same time stamp

mv dr * /filespath/to/bkp/ 

is there way recover them same time stamp

if understand question (and know original timestamp) move them back, , use touch give them old time stamp. excerpted man touch on gnu/linux,

   -a     change access time    -m     change modification time    -t stamp          use [[cc]yy]mmddhhmm[.ss] instead of current time 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -