Могу ли я использовать каталоги, использующие последний из двух конфликтующих файлов? [дубликат]

Esto puede ser un problema si compila e2fsprogs con libuuid y libblkid desde util -linux sin configurar paquete -config entorno correctamente:

export PKG_CONFIG_DIR=
export PKG_CONFIG_LIBDIR=${SYSROOT}/usr/lib/pkgconfig:${SYSROOT}/usr/share/pkgconfig
export PKG_CONFIG_SYSROOT_DIR=${SYSROOT}

Consulte también Referencia de compilación cruzada de Autotool .

-1
22.05.2019, 21:26
1 ответ

rsync— односторонняя -операция.Вы можете попытаться реализовать двухстороннюю -репликацию с его помощью, но он ненадежен и подвержен ошибкам. Однако вы можете предотвратить удаление rsyncболее нового файла в месте назначения с помощью переключателя --update:

.
   -u, --update
          This forces rsync to skip any files which exist on the destination and have a modified time that is newer  than  the  source  file.   (If  an
          existing destination file has a modify time equal to the source file's, it will be updated if the sizes are different.)

          In  the  current implementation of --update, a difference of file format between the sender and receiver is always considered to be important
          enough for an update, no matter what date is on the objects.  In other words, if the source has a directory or a symlink where  the  destina-
          tion has a file, the transfer would occur regardless of the timestamps. 
1
28.01.2020, 05:09

Теги

Похожие вопросы