Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [rsync]

rsync is a tool to efficiently copy directory hierarchies, locally or remotely, with powerful filters to decide what gets copied.

Filter by
Sorted by
Tagged with
2 votes
1 answer
201 views

Rsync from a file containing a list of absolute file paths

I have a file containing a list of files and folder with absolute path. I want to rsync those files and folder without preserving the paths to the current directory. Currently I am doing while IFS= ...
Rittwik Chatterjee's user avatar
4 votes
2 answers
542 views

How to rsync a large file by comparing earlier versions on the sending end?

Every day, the remote site builds a large file, and they store the previous few days worth of this file. Every day, they want to transfer that file to my server, but sometimes it takes in excess of 24 ...
Steve Jones's user avatar
5 votes
1 answer
249 views

Error 44 trying to rsync over ssh on Synology DSM

This is a bit long winded but I want to give as much information as I can. I have a Synology NAS running DSM 7.2.2: steve@NAS:/volume1/docker/backuppc-mdns$ cat /proc/sys/kernel/syno_hw_version DS223j ...
zephod's user avatar
  • 73
0 votes
1 answer
38 views

rsync copy several modules into directories

I'm trying to use rsync to copy data from a webserver to a local backup. Considering I need to copy several things, including some home directories from different users, I'm running rsyncd with a few ...
RivenSkaye's user avatar
10 votes
5 answers
2k views

Keep two entire Linux desktop systems in sync

I have a laptop PC that I use for everyday tasks. I mainly use my PC for software development (so lots of git repos + IDE + development tools), browsing... lots of different stuff actually. I'm using ...
daniele_athome's user avatar
2 votes
2 answers
138 views

How to preserve creation time when copying [duplicate]

I want to preserve Access, Modify and Birth timestamps when copying files. I tried the following flags. rsync --atimes --times --crtimes --archive However I get an error that crtimes is not supported....
New to code's user avatar
1 vote
1 answer
101 views

why is rsync slow compared to cp

I asked the question yesterday of why is NFSv4 so much slower than scp. I narrowed down things a bit, my real question now is why is rsync slow compared to cp ? as I don't think NFS is a factor. I've ...
ron's user avatar
  • 8,996
2 votes
1 answer
124 views

rsync script for incremental backup which continues unfinished jobs

I have a script which does incremental backups with rsync (script 1). I tried to add the feature to continue unfinished jobs in another script (script 2) but this version does a full copy of the ...
ecjb's user avatar
  • 495
2 votes
1 answer
154 views

How to allow rsync via ssh to a specific directory only

I want to allow moving files to a specific directory on my server using rsync + ssh. However, I don't want to fully trust the users using that SSH user. One solution I found is to set the shell of the ...
GNA's user avatar
  • 131
1 vote
0 answers
59 views

Rsync and scp do not work when system is the remote connection

This is a pretty weird problem. I have a desktop running openSuse Tumbleweed (192.168.0.YY), and on that machine, I can send and pull files from other computers on my network without any problems. If ...
Michael Williamson's user avatar
6 votes
1 answer
490 views

`rsync`: trailing slash vs wildcard

Suppose I want to sync the contents of a directory (source_dir) using rsync without creating a directory named source_dir in the target directory. I can do this using rsync source_dir/ target_dir or ...
jdoe's user avatar
  • 63
4 votes
1 answer
206 views

Change zsh autocompletion for rsync version 3.2.4 and newer

rsync changed how it escapes arguments in version 3.2.4 (released 15 Apr 2022), and zsh doesn't comply with the new behaviour. For example, if I have a file named "my test file.txt", ...
cbg's user avatar
  • 43
1 vote
1 answer
96 views

rsync between two PCs which are both reverse SSH into a "jumpbox"?

Let us assume we have three computers (they are all running a modern linux distro) call one a jumpbox, and two others PCs: Jumpbox / \ / \ / \ PC1 ...
number9's user avatar
  • 1,112
0 votes
0 answers
53 views

Arch Linux - rsync succeeds but prsync does not work

I am moving a large number of files from one PC to another. The two PCs are in 192.168.0.0/24. I started by ryncing all music I had on my source PC to my new PC. > rsync -P --recursive 192.168.0....
Hyunbin Yoo's user avatar
0 votes
2 answers
135 views

rsync to SAMBA share permission denied

I have a NAS that exports some directories as SAMBA shares. It works normally very well. Now I have mounted this particular share on a Linux box, using fstab. This also works. However, I would like to ...
T. Pluess's user avatar
  • 636

15 30 50 per page
1
2 3 4 5
144
Morty Proxy This is a proxified and sanitized view of the page, visit original site.