
|
84782 packages online
|
|
 |
|
|
|
No screenshot available
|
|
parameters: SafeCopy sourcefile destinationfile
example: safecopy hd:file ram:destinationfile
A friend wanted a copy cli prog
that did not force overwrites
and at the same time offered easy renaming of destination.
But I found no such prog on aminet,
so I made him one.
If the destination file exists,
it will pop up a requester with 3 options.
'cancel' (but not that word)
'overwrite'
'autorename'
'Autorename' finds the closest available number from
2 and up to 1000
and renames with the number put on the end of the name.
'file' would become 'file2'
but if 'file2' already exists, it will become 'file3'
and so on...
note that its big and slow.
I hope someone can make something similar
that is faster and better,
so that my friend can use that instead.
I can make a 'force' option that always autorenames,
but since I have no need for it,
you will have to tell me if you want it
and then i will include the 'force' option
or anything else that you want.
|
Contents of util/cli/SafeCopy.lha
PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 13803 24776 55.7% -lh5- c7bc Aug 31 2003 SafeCopy/SafeCopy
[generic] 607 1166 52.1% -lh5- d564 Sep 6 2003 SafeCopy/SafeCopy.readme
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 2 files 14410 25942 55.5% Sep 7 2003
|
|
|
 |
Page generated in 0.02 seconds |
Aminet © 1992-2024 Urban
Müller and the Aminet team.
Aminet contact address: <aminet aminet net> |