DATA Step, Macro, Functions and more

SAS piping in Linux- retrieving date of file

Reply
New Contributor
Posts: 3

SAS piping in Linux- retrieving date of file

I would like to retrieve filenames and corresponding dates(file creation dates)  from a directory in Linux environment using SAS piping.  I can retrieve filenames but not dates.  Here is the code I use to retrieve files:

filename x pipe 'ls /path';

I have tried other linux commands in addition to ls but none works.

Valued Guide
Posts: 2,177

Re: SAS piping in Linux- retrieving date of file

Posted in reply to cdavis4468

Try

ls -l

Ask a Question
Discussion stats
  • 1 reply
  • 478 views
  • 0 likes
  • 2 in conversation