linux copy file with timestamp code example Example: preserve time and date when copying files ubuntu cp -p oldfile newfile