Есть ли способ сохранить исходную дату файла при загрузке с сервера с помощью nautilus ftp? Как сейчас, файл имеет в качестве даты / времени загруженную дату / время, а не на сервере?
В качестве обходного пути, wget делает это по умолчанию. Со страницы руководства (страница руководства) :
blockquote>--timestamping Turn on time-stamping. --no-use-server-timestamps Don't set the local file's timestamp by the one on the server. By default, when a file is downloaded, it's timestamps are set to match those from the remote file. This allows the use of --timestamping on subsequent invocations of wget. However, it is sometimes useful to base the local file's timestamp on when it was actually downloaded; for that purpose, the --no-use-server-timestamps option has been provided.
Для nautilus вы можете отправить отчет об ошибке (запрос функции): https : //bugzilla.gnome.org/browse.cgi продукт = Nautilus
Если вы, вероятно, делаете это из терминала, команда cp
может помочь вам с опцией -p
.
-p
same as --preserve=mode,ownership,timestamps
--preserve[=ATTR_LIST]
preserve the specified attributes (default: mode,ownership,timestamps), if possible additional attributes: context, links, all