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
- SteamOS 3.5.18 Preview released for Steam Deck
- Check out this casual fab farming game bundle, plus a whole bunch of Godot Engine courses
- Wine 9.7 released with ARM improvements
- PSA: someone set up a fake Proton-GE website
- Valve makes paid 'Advanced Access' a clear feature on Steam now
- > See more over 30 days here
-
Descent 3 has been made open source
- whizse -
Lefties unite! Counter-Strike 2 now lets you swap hands…
- Philadelphus -
Ubuntu 24.04 LTS (Noble Numbat) is now available
- Eike -
Microsoft open sources MS-DOS 4.0
- Eike -
Factorio devs detail their 'Linux adventures' in a new …
- F.Ultra - > See more comments
Latest Forum Posts
- Gaming on Linux for Kids
- Chuckaluphagus - Help needed with blocklist
- AntonioHensley - Divinity Original Sin II - Definitive Edition - stopped starting …
- spiry2sick - Hello to all
- Hamish - Weekend Players' Club 4/19/2024
- StoneColdSpider - 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.