multicopy copies the specified file after renaming the same name file in the specified directory.
$ multicopy
[args] srcfile dstpath
$ 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")
MIT
Ryuji Iwata
This tool is mainly using by myself. :-)