Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11892 > unrolled thread

Re: Import multiple files with same extension from a folder

Started byMurray Eisenberg <murray@math.umass.edu>
First post2012-09-28 03:05 +0000
Last post2012-09-28 03:05 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Import multiple files with same extension from a folder Murray Eisenberg <murray@math.umass.edu> - 2012-09-28 03:05 +0000

#11892 — Re: Import multiple files with same extension from a folder

FromMurray Eisenberg <murray@math.umass.edu>
Date2012-09-28 03:05 +0000
SubjectRe: Import multiple files with same extension from a folder
Message-ID<k43468$ncs$1@smc.vnet.net>
On Sep 27, 2012, at 3:04 AM, Dominik Hezel <sendme2000@me.com> wrote:

> Hello,
>
> I have a folder with different files, e.g.
>
> test1.exp
> test2.exp
> test1.log
> test2.log
> ...
>
> The number of files and actual file names is unknown. I would like to import all files ending with .exp. How do I do this rather simple task?
>

   Import /@ FileNames["*.exp", "path_to_files"]

---
Murray Eisenberg                                     
murray@math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                  413 545-2859 (W)
710 North Pleasant Street                      fax   413 545-1801
Amherst, MA 01003-9305





[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web