Bug 3852 - Enable 'newer' on 'mput' statements for CIFS (+ patch)
Summary: Enable 'newer' on 'mput' statements for CIFS (+ patch)
Status: NEW
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbclient (show other bugs)
Version: 3.0.22
Hardware: All All
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-06-23 05:54 UTC by Jurjen Stellingwerff
Modified: 2006-06-23 08:48 UTC (History)
1 user (show)

See Also:

Added functionality: mput now also checks for newer (2.40 KB, patch)
2006-06-23 08:44 UTC, Jurjen Stellingwerff
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jurjen Stellingwerff 2006-06-23 05:54:12 UTC
For 'mget' the 'newer' toggle can be used to fetch only newer files than the file that are already there. It would be quite usefull for backups to MS-machines to have this option also working on 'mput'. I know that it would only work on CIFS connections but those are already quite common today.

I'm willing to put some hacking time in this feature. So this feature request might gain a patch file in the near future.

Comment 1 Jurjen Stellingwerff 2006-06-23 08:44:18 UTC
Created attachment 1978 [details]
Added functionality: mput now also checks for newer

This changes mput a bit:
- every file now checks 'stat' also if 'recurse' is still off
- dir is still only set when 'recurse' is on
- files are only added to the list when last mutation date
- directories are always added when 'recurse' is on
- debug 3 message for skipped files due to newer
- change to text on 'help newer'