Re: [newbie] files ending with a ~
flupke wrote: On Fri, 22 Sep 2000, Veit Waltemath wrote: Hey folks, after running a perl-script al files an directories on a separate partition are now ending with a ~ like file~ or directory~ and are only visible in the shell. How can i get this back? I can't figure out what happend or what script you have run to have that, but if all you want to do is removing the trailing ~ at the end of your filenames, then you can issue the following command : for i in * ; do mv $i ${i%%\~} ; done HTH Flupke -- There's no place like ~ thanx, thats what i need. Veit
Re: [newbie] files ending with a ~
On Fri, 22 Sep 2000, you wrote: usually a ~ is a backup copy. You can always delete or rm the file that had the change and cp the ~ file back to a reg file. It had been convenient for me t whenever I alter a file. and after saving it. it automatically store the original file to a ~ file which mean if the alter one didnt work. I always delete and cp the ~ file back to the original file and try alter it to something else. flupke wrote: On Fri, 22 Sep 2000, Veit Waltemath wrote: Hey folks, after running a perl-script al files an directories on a separate partition are now ending with a ~ like file~ or directory~ and are only visible in the shell. How can i get this back? I can't figure out what happend or what script you have run to have that, but if all you want to do is removing the trailing ~ at the end of your filenames, then you can issue the following command : for i in * ; do mv $i ${i%%\~} ; done HTH Flupke -- There's no place like ~ thanx, thats what i need. Veit
[newbie] files ending with a ~
Hey folks, after running a perl-script al files an directories on a separate partition are now ending with a ~ like file~ or directory~ and are only visible in the shell. How can i get this back? Thanks Veit
Re: [newbie] files ending with a ~
On Fri, 22 Sep 2000, Veit Waltemath wrote: Hey folks, after running a perl-script al files an directories on a separate partition are now ending with a ~ like file~ or directory~ and are only visible in the shell. How can i get this back? I can't figure out what happend or what script you have run to have that, but if all you want to do is removing the trailing ~ at the end of your filenames, then you can issue the following command : for i in * ; do mv $i ${i%%\~} ; done HTH Flupke -- There's no place like ~