Feature #3310

Simplify store copy/move semantics

Added by Stavros Sachtouris about 10 years ago. Updated about 10 years ago.

Status:Closed Start date:02/22/2013
Priority:Medium Due date:02/25/2013
Assignee:Stavros Sachtouris % Done:

100%

Category:kamaki Spent time: -
Target version:v0.8

Description

In principle, without parameters do the intuitive-obvious functionality:

copy/move src-cnt:src-path dst-cnt:dst-path

Special syntax case: X:Y Z means src-cnt:src-path src-cnt:trg-path (rename)

Required semantics:
- if dst-path is a dir, then target is dst-cnt:dst-path/src-path
- if dst-path exists but not a dir, then stop proccess (can be overriden with runtime option)
- if dst-path does not exist as file, then target is dst-cont:dst-path (rename to dst-path)
- to modify a file name, use the --replace option to specify WHAT to replace from src-path. That will be replaced with dst-path

History

#1 Updated by Stavros Sachtouris about 10 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#2 Updated by Stavros Sachtouris about 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF