This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Newbie] Opening Files in a Folder


Hello,

Suppose I have a folder on the desktop that contains a number of files. I would like to select only the .jpg files and then open them in a) a particular app if possible, or b) whatever app is associated with the .jpg extension.

I think the syntax would look like: 
find "C:/path/to/desktop/images" -iname "*.jpg" -print0 | xargs -0 <some command to open these files>

I don't know what should be substituted for <some command to open these files>. Any ideas?

Regards,
Sean Mills

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]