BookmarkSubscribeRSS Feed
csn
Calcite | Level 5 csn
Calcite | Level 5

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

3 REPLIES 3
Kurt_Bremser
Super User

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

 

JuanS_OCS
Amethyst | Level 16

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:

https://www.google.nl/search?q=Linux+copy+files+with+extention&oq=Linux+copy+files+with+extention&aq...

 

An example:

 

http://stackoverflow.com/questions/15617016/cp-copy-all-files-with-a-certain-extension-from-all-subd...

 

find dir_name '*.egp' -exec cp -vuni '{}' "../dest_dir" ";"

http://unix.stackexchange.com/questions/157286/copying-files-with-multiple-extensions

 

 

SASKiwi
PROC Star

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.

 

 

 

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1996 views
  • 4 likes
  • 4 in conversation