Shell Scripting: Piping part of ls output
Posted: Thu Oct 26, 2006 12:30 pm
I've got a bunch of files in the form:
Apple (2006-04-11)
Berry (2006-01-13)
I'd like to run ls on the directory containing these files and then pipe only the date portion (YYYY-MM-DD) of the filenames into another file.
Can anyone point me the right direction?
Apple (2006-04-11)
Berry (2006-01-13)
I'd like to run ls on the directory containing these files and then pipe only the date portion (YYYY-MM-DD) of the filenames into another file.
Can anyone point me the right direction?