Short:        Overwrite protection, and autorenaming feature.
Author:       Joar Berntsen
Uploader:     joar berntsen netcom no
Type:         util/cli
Version:      1.0
Requires:     68k.
Architecture: m68k-amigaos


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.