LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   creation Temporary files with ~ sign?? (https://www.linuxquestions.org/questions/linux-newbie-8/creation-temporary-files-with-%7E-sign-155933/)

kushalkoolwal 03-10-2004 01:15 PM

creation Temporary files with ~ sign??
 
Hi friends,

I am developing a file copy program on the Red Hat Linux 8.0 Kernel 2.14-18. Now when ever i run my program which ask for Source and Destination Directory my software works fine and the files are also copied. But along with that sometimes there are some files with ~ (tilde)sign, For example if there is a file called termcap then a file called termcap~ is also seen in the source folder ( not in the browser i.e. Nautilis but in the konsole or xterm when i give the command "ls" or "ll" ).

why is this happening? how can i get rid of this problem? i am using sendfile() command on the source side and normal recc() function on the destination side.

Thanks


Kushal

ricstirato 03-10-2004 01:21 PM

These files are older versions (backup files).

In most GUI file browser you have an option to hide these from display, which is probably activated on your system.

Several editors and configuration tools create these backup files by default. You can try to reconfigure these tools or simply remove these files. This is safe as long as the new version works.


All times are GMT -5. The time now is 04:27 AM.