Short version: I want to be able to prevent certain files from appearing in the output of ls
, without adding the dot, and thus changing their names.
Long version: Recently, I moved a bunch of scripts and data files to another directory to keep things organized. Many of my older scripts require access to these files, and so I created symlinks for backward compatibility. However, the point of moving the files is to keep the original folder clean, so I don't want to see the symlinks. But how can I hide them, without changing their names (adding the dot), and thus breaking my older scripts?
sed -i '#/old/path/#/new/path#g' scripts/*sh
?