I am required to save all of my programs and projects on the SAS EG (v6.1) Unix server. The path varies somewhat, but for virtually every task I have to navigate through numerous layers of folder to get to my project files. Has anyone found a shortcut to this? The SAS administrator cannot change the configuration because other departments using the server would not navigate to the same file structure as myself. Any ideas / macros, etc, that would save the tedious navigation in the Server List window? example: files/division/dept/unit/product/project/programs/ ...
--Carolyn Norman
You could create a link to the desired location in your home directory:
ln /home/username/division/dept/unit/product/project/programs/ /home/username/programs
from the UNIX commandline. If the directories span different filesystems, create a symbolic link by using ln -s
Hello @csn, Carolyn,
there is! And it is not SAS related. Good that you are working with a Unix server. Google is full of examples:
An example:
find dir_name '*.egp' -exec cp -vuni '{}' "../dest_dir" ";"
http://unix.stackexchange.com/questions/157286/copying-files-with-multiple-extensions
In the longer term if you not only want to provide easier navigation but also provide better management of your SAS programs and projects then I recommend the use of software change management tools. EG already integrates with GIT, and from personal experience I've found other tools that work equally as well.
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.