Questions tagged [file-transfer]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
33 views

How to efficiently flatten folders?

I have 100 folders each with 1 million images, is there any (efficient) Mathematica command to flatten them into a single folder with 100 million files? Iterating and doing CopyFile and DeleteFile ...
2
votes
1answer
180 views

How to zip folders

I know that one can archive data with Mathematica using: CreateArchive[source,path] I have a lot of folders (folder1, folder2,folder2 etc.) that I would like to ...
0
votes
0answers
28 views

Save all the variable with file name containing the Time stamp [duplicate]

How to save all the variable with a filename containing the Timestamp. For example: If the current time is 2:30:56 PM, The file name should be ...
0
votes
2answers
44 views

Looking for specific data in .txt file

I've the following code: Import["test.txt"] And it gives me: 1,10 2,20 3,30 4,40 5,50 6,60 7,70 8,80 9,90 10,100 11,110 12,120 13,130 14,140 15,...
0
votes
1answer
30 views

Searching in a .txt file for a specific time

I've the following code: Import["hoi1.txt"] And it gives me: "(time,voltage,current,power) (1,10,5,10*5) (2,20,6,20*6) (3,30,7,30*7) (4,40,8,40*8) (...
2
votes
0answers
83 views

Easy way to download/upload to S3?

I need to access a bucket to put and get a few files, is there any nice way to do this in Mathematica?
0
votes
2answers
1k views

Write list of numbers to a file

I have a list of numbers: e.g. list={1,2,3,4,5} To write the list to a file I use (here each integer number occupies 7 spaces): ...
4
votes
1answer
3k views

How to make new line in mathematica file output?

I know that new line is classically made by "\n". I want to make a string with lines of data and then export it into a file: ...
0
votes
1answer
245 views

Rename a list of files [duplicate]

I need to rename a list of files .bmp having name like 1.bmp, 2.bmp,...,155.bmp. I want to get a list of files having the same number of digits in name like 001.bmp,002.bmp....,155.bmp. I am trying ...
2
votes
1answer
132 views

Merge StyleSheet into a notebook

I have a custom style called style1.nb and I want to install it into a notebook Class01.nb so I can send only the notebook file to my students with the style of style1.nb. Is that possible?
3
votes
2answers
632 views

NetLink Exporting Images doesn't work (Unknown string escape)

Exporting Image files (intermittently) doesn't work: I get messages back indicating the error is to do with escaping characters: ...
16
votes
1answer
1k views

Automating SFTP upload within Mathematica?

I have MMA-generated html and would like to automate uploading to a named directory to a web host via SFTP or HTTP POST, ideally without creating local temp files. The closest question I could find on ...