I'm a new person in Unix world , So I need some help please
i have one questions :
"bash copy filename destin_dir"
1- i need a bash script to copy file from one directory to another , and if the destination directory have the same file name, add '_1' to the file name ..
and if there is a file with 'filename_1' , add '_2' to the file name and become 'filename_2' and so on ..
Thanks in advance