|Hey Does anyone know the code to keep an old files modified date while copying it in C?|
Currently i have:
char timeStr1 [ 100 ] = "";
char timeStr2 [ 100 ] = "";
struct utimbuf new_times;
new_times.modtime = argv)
The problem im having here is conversion. is there another way i can go around doing this?
In the Terminal i know you write: cp -p <source> <Destination>