2つのファイルシステムでrsync -rtvuc?

2つのファイルシステムでrsync -rtvuc?

システム

  • OS_X_拡張/ソース/
  • FAT32/対象/

Fat32ディレクトリに展開されたOSXのすべてのアイテムを同期し、OSX_extendedから削除したファイル/ディレクトリを削除したいと思います。維持したい時間の変更-t)。-c所有者とグループを無視してファイルのハッシュ()を調べます。私のアドバイス

rsync -rtvuc --delete --progress $HOME/Source/ /media/masi/FAT32/Destination/

これには進行中の.dotFilesも含まれます。


2つのファイルシステムで2つのディレクトリの変更時間をどのように再同期しますか?

ベストアンサー1

共有するコマンドは、/media/masi/fat32/destinationDirectory/$ HOME/SourceDirectory/(ソース)に対して(ターゲット)を同期し、ソースと比較してターゲットから余分なコンテンツを削除します。

> --progress  : will show you the process progress
> -r : recursively
> -t  --times : This tells rsync to transfer modification times along with the files and update
>     them on the remote syste
> -c  --checksum This forces the sender to checksum all files using a 128-bit MD4  checksum before transfer
> -u -- update This forces rsync to skip any files for which the destination file already exists and has a date later than the source
> file.


rsync -rtvuc --delete --progress $HOME/SourceDirectory/ /media/masi/fat32/destinationDirectory/

おすすめ記事