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

Customize the name for duplicated files #5620

Closed
cyberduck opened this issue Jan 6, 2011 · 3 comments
Closed

Customize the name for duplicated files #5620

cyberduck opened this issue Jan 6, 2011 · 3 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Jan 6, 2011

http://colinviebrock.myopenid.com/ created the issue

Right now, Command-D duplicates a file (e.g. filename.ext) and gives it a default name (e.g. "filename (timestamp).ext").

It would be nice if this default name (or pattern) were customizable somehow. Maybe a preference setting that lets you specify a sprintf()-type string, with options like:

  • %f - current filename
  • %e - current extension
  • %t - timestamp

etc.. In this case, the default would be "%f (%t).%e" ... but you could easily change it to "%f.%e.OLD" or "%f.BAK" or anything else.

Thanks!

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Jan 6, 2011

@dkocher commented

This is currently available only as a hidden preference. It should suit your needs, though.

Loading

@cyberduck cyberduck closed this Jan 6, 2011
@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 7, 2011

http://colinviebrock.myopenid.com/ commented

Just noticed your response now ... but I can't see what the hidden preference is.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Dec 7, 2011

@dkocher commented

Replying to [comment:2 http://colinviebrock.myopenid.com/]:

Just noticed your response now ... but I can't see what the hidden preference is.

This is documented in Duplicate filename format.

Loading

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants