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
- Former Nouveau driver lead joins NVIDIA and sent a massive patch set
- SteamOS 3.5.18 Preview released for Steam Deck
- Team Fortress 2 64bit support released, plus Vulkan for Linux via DXVK
- Free Stars: Children of Infinity coming to Linux after smashing Kickstarter goals
- Pick up some classics in the Good Old Games sale at GOG
- > See more over 30 days here
-
Minecraft v1.20.5 the Armored Paws drop update is live …
- Purple Library Guy -
Valve makes paid 'Advanced Access' a clear feature on S…
- Avehicle7887 -
Valve makes paid 'Advanced Access' a clear feature on S…
- kerossin -
Ghostwire: Tokyo removed Denuvo Anti-Tamper
- chickenb00 -
Flathub for Linux apps has been given quite the makeove…
- Caldathras - > 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.