preserve time and date when copying files ubuntu code example Example: preserve time and date when copying files ubuntu cp -p oldfile newfile