this post was submitted on 27 Jun 2024
210 points (98.6% liked)

linuxmemes

20901 readers
1848 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 19 points 3 months ago (3 children)

Technically that would mean that one copy of the file is no longer updated when the other is.

You should consider using ln bkp.tar.gz bkp2.tar.gz instead.

[โ€“] [email protected] 9 points 3 months ago* (last edited 3 months ago)
loop {
    rsync -tu bkp.tar.gz bkp2.tar.gz
    rsync -tu bkp2.tar.gz bkp.tar.gz
}
load more comments (2 replies)