Cyberduck Mountain Duck CLI

#5620 closed enhancement (worksforme)

Customize the name for duplicated files

Reported by: http://colinviebrock.myopenid.com/ Owned by: dkocher
Priority: normal Milestone:
Component: interface Version: 3.8.1
Severity: normal Keywords: duplicate filename
Cc: Architecture:
Platform: Mac OS X 10.6

Description

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!

Change History (3)

comment:1 Changed on Jan 6, 2011 at 9:16:20 PM by dkocher

  • Resolution set to worksforme
  • Status changed from new to closed

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

comment:2 follow-up: Changed on Dec 6, 2011 at 11:07:08 PM by http://colinviebrock.myopenid.com/

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

comment:3 in reply to: ↑ 2 Changed on Dec 7, 2011 at 10:28:35 AM by dkocher

Replying to 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.

Note: See TracTickets for help on using tickets.
swiss made software