두 개의 파일 시스템에서 rsync -rtvuc?

두 개의 파일 시스템에서 rsync -rtvuc?

체계

  • OS_X_확장/소스/
  • FAT32/대상/

Fat32 디렉터리로 확장된 OSX의 모든 항목을 동기화하고 OSX_extended에서 제거한 파일/디렉터리를 삭제하고 싶습니다. 나는 유지하고 싶다시간 변경( -t). -c소유자와 그룹을 무시하고 파일의 해시( )를 살펴봅니다 . 나의 충고

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

여기에는 진행 중인 .dotFiles도 포함됩니다.


두 파일 시스템에서 두 디렉터리의 수정 시간을 어떻게 재동기화합니까?

답변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/

관련 정보