I get an Error Code 4 when trying to rename a file using a script. I understand that the error refers to renaming to the name of an already existing file. I'm doing this on purpose.
My question is, why is it when using the GUI panel I can rename it, when clicking on HOM to open a terminal, I can rename (mv) it. But when opening the session via a script, I cannot rename it??? Is there some setting I need to do to allow me to rename the file to an existing one?