我在计算机上安装了第二个硬盘(安装为/media/<my-user-name>/hd2
),只有一个分区。我想将我的主文件夹移到这个新驱动器上。
登录我的管理员会话后,我按照这个答案问题的如何将加密的主目录移动到另一个分区?。
因此我在终端中连续输入了以下命令:
ecryptfs-umount-private
chown $USER /media/<my-user-name>/hd2/$USER
sudo rsync -aP --progress --stats $HOME/.Private $HOME/.ecryptfs /media/<my-user-name>/hd2/$USER
然而,我收到了这条消息:
[sudo] password for <my-user-name>:
sending incremental file list
Number of files: 2 (link: 2)
Number of created files: 0
Number of deleted files: 0
Number of regular files transferred: 0
Total file size: 57 bytes
Total transferred file size: 0 bytes
Literal data: 0 bytes
Matched data: 0 bytes
File list size: 0
File list generation time: 0.001 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 134
Total bytes received: 12
sent 134 bytes received 12 bytes 292.00 bytes/sec
total size is 57 speedup is 0.39
由于我的主目录中有 30 多个 Gio 数据,因此它们似乎尚未被复制到新驱动器上。
但是我不知道我哪里做错了。你能帮帮我吗?