Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 718 Bytes

README.md

File metadata and controls

52 lines (37 loc) · 718 Bytes

multicopy

multicopy copies the specified file after renaming the same name file in the specified directory.

Usage

$ multicopy
[args] srcfile dstpath

Example

$ multicopy test/file.txt test/

Before:

test/
|
+--file.txt (Contents:"src")
+--dir1/
|  +--file.txt (Contents:"dir1")
+--dir2/
   +--dir3/
      +--file.txt (Contents:"dir2/dir3")

After:

test/
|
+--file.txt (Contents:"src")
+--dir1/
|  +--file.txt (Contents:"src")
|  +--file.txt.YYYYMMDDHHNNSSZZZ (Contents:"dir1")
+--dir2/
   +--dir3/
      +--file.txt (Contents:"src")
      +--file.txt.YYYYMMDDHHNNSSZZZ (Contents:"dir2/dir3")

License

MIT

Author

Ryuji Iwata

Note

This tool is mainly using by myself. :-)