On Sun, Jul 6, 2025 at 6:23 AM Michael via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> hmmmm.... I tried rsync and this is what it said:rsync -aP
> --log-file=/var/tmp/rsync-$$.log /media/bmike1/Backup Documents/Pictures/*
> /media/bmike1/4B3150E46CD4CD76
> sending incremental file list
> rsync: [sender] link_stat "/media/bmike1/Backup" failed: No such file or
> directory (2)
> rsync: [sender] change_dir "/home/bmike1/Documents/Pictures" failed: No
> such file or directory (2)
> rsync error: some files/attrs were not transferred (see previous errors)
> (code 23) at main.c(1338) [sender=3.2.7]
>

--mkpath should fix the missing dir errors

try this; replace filenames and directories as shown

*(note the the trailing '/' in the source dir and destination dir)*

suggest 'man rsync' to learn the details on the options and how rsync
treats the trailing '/' in directory paths


rsync *--mkpath* -aP --log-file=/path/to/log/file  /source/dir/
/destination/dir/

you can define an alias of your .bashrc so you don't have to remember the
arcane options

FWIW, I use rsync to back up local files between local storage and also
across networked hosts (ssh PKI keys auth)


HTH
-- Arun Khan
---------------------------------------------------
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to