![rsync:没有这样的文件或目录(2)](https://linux22.com/image/211183/rsync%EF%BC%9A%E6%B2%A1%E6%9C%89%E8%BF%99%E6%A0%B7%E7%9A%84%E6%96%87%E4%BB%B6%E6%88%96%E7%9B%AE%E5%BD%95%EF%BC%882%EF%BC%89.png)
尽管remindfox.ics 已被复制,我还是收到了此消息。
有什么解决办法吗?
rsync: link_stat "/home/andy/.mozilla/seamonkey/dsgt0f2o.default/reminderfox.ics" failed: No such file or directory (2)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1196) [sender=3.1.2]
#!/bin/bash
Seamonkey_Dir="/home/andy/.mozilla/seamonkey/dsgt0f2o.default/"
Backup_Directory="/media/storagedrive/Ubuntu_Mate_18.04/"
Seamonkey_Reminder_Dir="/home/andy/.mozilla/seamonkey/dsgt0f2o.default/reminderfox/"
UbuntuMate_20_04_ReminderFox_Dir="/media/andy/5b4b2ae5-9aaa-4559-9f41-afb313998c75/home/andy/.mozilla/seamonkey/7g4136n1.default/reminderfox/"
# Backup reminderfox reminders This WORKS
cd $Seamonkey_Dir
rsync --progress -r -u -q reminderfox.ics $Backup_Directory
#
# Copy reminderfox .ics file to the 20.04 installation
# This WORKS despite any rsync errors.
#
rsync --progress -r -u -q $Seamonkey_Reminder_Dir/reminderfox.ics $UbuntuMate_20_04_ReminderFox_Dir