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
Assignees

Comments

@cyberduck
Copy link
Collaborator

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

@dkocher commented

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

@cyberduck
Copy link
Collaborator Author

http://colinviebrock.myopenid.com/ commented

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

@cyberduck
Copy link
Collaborator Author

@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.

@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
Development

No branches or pull requests

2 participants