Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sftp: Add new quote commands 'atime' and 'mtime' #5810

wants to merge 1 commit into from

sftp: Add new quote commands 'atime' and 'mtime' #5810

wants to merge 1 commit into from


Copy link

@COFFEETALES COFFEETALES commented Aug 13, 2020

In some situations, you may have to change the modified or last accessed date of a specific file.
This PR add new quote commands for sftp only.

sshc->quote_attrs->flags |= SSH_FILEXFER_ACMODTIME;
Copy link

@emilengler emilengler Aug 14, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The two else if statements look very similar.
Why not try to put them into one and obfuscate the code a bit :-)

docs/cmdline-opts/quote.d Outdated Show resolved Hide resolved
@COFFEETALES COFFEETALES requested a review from bagder Aug 16, 2020
bagder approved these changes Aug 16, 2020
Copy link

@bagder bagder commented Aug 24, 2020


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants