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
- GOG launch their Preservation Program to make games live forever with a hundred classics being 're-released'
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- Valve dev details more on the work behind making Steam for Linux more stable
- Proton Experimental adds DLSS 3 Frame Generation support, plus fixes for Dragon Age: The Veilguard, Rivals of Aether II and more
- Direct3D to Vulkan translation layer DXVK v2.5 released with rewritten memory management
- > See more over 30 days here
-
The Walking Dead, The Expanse and more in the Telltale …
- Arehandoro -
Linux kernel 6.12 is out now with real-time capabilitie…
- Kirtai -
Linux kernel 6.12 is out now with real-time capabilitie…
- Eike -
Half-Life 2 free to keep until November 18th, Episodes …
- Xpander -
Avowed from Obsidian gets a release date, and pre-order…
- melkemind - > See more comments
- Steam and offline gaming
- Dorrit - Weekend Players' Club 11/15/2024
- Ehvis - What do you want to see on GamingOnLinux?
- Liam Dawe - New Desktop Screenshot Thread
- Vortex_Acherontic - Types of programs that are irritating
- dvd - See more 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.