Questions on obtaining files and directory structure/information and manipulating the said structure/information, searching/renaming particular files in a directory, etc., in an OS independent manner.

learn more… | top users | synonyms

0
votes
1answer
40 views

Copy files existing in different directories under the same directory

I have many files existing in different directories, I need to copy it under the same directory. Any suggestions?
12
votes
0answers
124 views

A documented syntax of FileNames doesn't work?

According to the documentation for FileNames: However when I attempt to use this syntax I get an error: ...
9
votes
0answers
68 views

Is there a way to stop Export if the file size is too big?

I've got code that's exporting a file, but the file might be so big that it will take up too much space on the cluster I'm using and crash other users' processes. Is there anything like ...
3
votes
0answers
20 views

how to make SaveAs saves to NotebookDirectory[] instead of NotebookBrowseDirectory[]?

I find Mathematica handling of directories utterly bizarre to say the least. I end up losing changes and seeing files saved in wrong folder due to this. Even in Version 10.01 which I am using, on ...
3
votes
0answers
382 views

Cannot save file

Hello I have a problem in saving files in Mathematica. I can't save not only notebooks but also figures. When I choose to save the notebook it open a window that says: Mathematica could not find ...
1
vote
0answers
34 views

SemanticImport::unexpinvaliderr error when using trial version

I am trying to use SemanticImport for a personal experiment. I can correctly import a tsv file from a path, but if I change ...
0
votes
0answers
18 views

Can one upload .xls in a cdf style gui? how would someone go about this?

I would like to create a cdf that reads and plots table data however is it possible to say create a drop to upload function, can mathematica support this?
0
votes
0answers
27 views

How to get the subdirectory of a ftp weblink?

For example, I can use FileNames["*",dir] to get all subdirectory under dir if dir is some directory of my local computer. Suppose that I want to get all ...
0
votes
0answers
145 views

Savitzky-golay filter

How to use Savitzky-golay filter on csv file? I have file.csv in this format: 0.1,1.6,2.8,0 0.2,1.2,2.3,1 0.7,1.5,2.4,2 0.6,1.2,2.7,3 0.4,1.4,2.9,4 0.3,1.3,2.5,5 ...