While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Founder of Baldur's Gate 3 developer blasts publisher greed
- Proton 9.0 (Beta16) brings more regression fixes, updated Steamworks SDK
- Windows compatibility layer Wine 9.5 released
- Backpack Battles has sold 500,000 copies in two weeks on Steam
- System76 release upgraded Lemur Pro laptop, plus a desktop sale now on
- > See more over 30 days here
-
EA anticheat arrives for Battlefield V in April, will b…
- hell0 -
EA anticheat arrives for Battlefield V in April, will b…
- Purple Library Guy -
SDL 3 will prefer Wayland Over X11, if certain protocol…
- nwildner -
SDL 3 will prefer Wayland Over X11, if certain protocol…
- whizse -
SDL 3 will prefer Wayland Over X11, if certain protocol…
- fenglengshun - > See more comments
Latest Forum Posts
View PC info
Last edited by damarrin on 28 May 2021 at 7:08 pm UTC
View PC info
I need the copy to be a perfect clon.
I don't think Lutris cares about ctimes though, so I guess you have some other reason to worry about it.
From manual page:
-p implicts --preserve=mode,ownership,timestamps
It's my translation to English, so sorry it was wrong. I have localized manuals.
--preserve=timestamps should also do the trick.
cp -pP
It will copy symbolic links content instead location it points to. The -P do the trick.
From manual
-P, --no-dereference
never travel through symbolic links in source
View PC info
And If I play with the system time before making the copy?
What is more fast? The use of cp or Rsync?
View PC info
Unless your doing one of those things, I find them to be about the same in terms of speed.
That's a clever idea! Although, wouldn't you have to alter the system time for every file just before you copy it to ensure every file has the same time as the old? I wonder if that's is scriptable in bash?
I can't remember what is called exsctly, but I think you might want to consider disabling the NTP deamon/service thing so the system doesn't automatically "fix" and resync to the correct time in the middle of you work. Or take the computer in question off the internet. Prolly easier to disconnect.