[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unexpected behavior of cp and mv



Alberto Sentieri wrote:
> On 4/29/20 4:13 PM, Thomas Schmitt wrote:
>> Hi,
>>
>> Alberto Sentieri wrote:
>>> It is clear
>>> there that -p has no effect on that particular case of smb destinations. A
>>> similar problem is happening with mv.
>> Maybe its not the file copying operation but the subsequent adjustment
>> of the timestamps.
>> Did you already try whether you can change timestamps on SMB by e.g.
>> touch(1) ?

  if touch does work then try using it and the original file
name on the original file system as a reference file.

(see man touch)

  another thing to try would be to see if rsync is also
not doing this correctly.

  sorry, short on time at the moment to dig further but
these two things came immediately to mind.


  songbird


Reply to: