Questions tagged [export]

"Export" refers to the automated or semi-automated conversion of data sets from one data format to another. The term refers to both act of exporting and to the result of the action, i.e. the exported data set.

Exporting consists of extracting some data or some information from an application, a system or a database. The export can be used to change the native format of data, for instance exporting from a software to another format for distribution or mailing (PDF), data exchange (TXT, CSV) or compatibility (e.g. from DOCX to DOC).

9586 questions
2544
votes
31 answers

Do a "git export" (like "svn export")?

I've been wondering whether there is a good "git export" solution that creates a copy of a tree without the .git repository directory. There are at least three methods I know of: git clone followed by removing the .git repository directory. git…
Greg Hewgill
  • 951,095
  • 183
  • 1,149
  • 1,285
814
votes
16 answers

Capture HTML canvas as GIF/JPG/PNG/PDF?

Is it possible to capture or print what's displayed in an HTML canvas as an image or PDF? I'd like to generate an image via canvas and be able to generate a PNG from that image.
Parand
  • 102,950
  • 48
  • 151
  • 186
771
votes
31 answers

How to export JavaScript array info to csv (on client side)?

I know there are lot of questions of this nature but I need to do this using JavaScript. I am using Dojo 1.8 and have all the attribute info in array, which looks like this: [["name1", "city_name1", ...]["name2", "city_name2", ...]] Any idea how I…
Sam007
  • 8,397
  • 4
  • 24
  • 34
663
votes
7 answers

Why Is `Export Default Const` invalid?

I see that the following is fine: const Tab = connect( mapState, mapDispatch )( Tabs ); export default Tab; However, this is incorrect: export default const Tab = connect( mapState, mapDispatch )( Tabs ); Yet this is fine: export default Tab =…
Kayote
  • 14,579
  • 25
  • 85
  • 144
454
votes
33 answers

How to export all collections in MongoDB?

I want to export all collections in MongoDB by the command: mongoexport -d dbname -o Mongo.json The result is: No collection specified! The manual says, if you don't specify a collection, all collections will be exported. However, why doesn't…
aboutstudy
  • 4,837
  • 3
  • 15
  • 10
321
votes
5 answers

How to export imported object in ES6?

The use case is simple: I just want to export an object with the name just as it was imported. for example: import React from 'react'; export React; but this does not work. I have to write: import React from 'react'; export const React =…
Yao Zhao
  • 4,373
  • 4
  • 22
  • 30
284
votes
12 answers

Export specific rows from a PostgreSQL table as INSERT SQL script

I have a database schema named: nyummy and a table named cimory: create table nyummy.cimory ( id numeric(10,0) not null, name character varying(60) not null, city character varying(50) not null, CONSTRAINT cimory_pkey PRIMARY KEY (id) ); I…
null
  • 8,669
  • 16
  • 68
  • 98
264
votes
6 answers

How to export query result to csv in Oracle SQL Developer?

I'm using Oracle SQL Developer 3.0. Trying to figure out how to export a query result to a text file (preferably CSV). Right clicking on the query results window doesn't give me any export options.
Ken Liu
  • 22,503
  • 19
  • 75
  • 98
252
votes
5 answers

How do I view the list of functions a Linux shared library is exporting?

I want to view the exported functions of a shared library on Linux. What command allows me to do this? (On Windows I use the program depends)
ljbade
  • 4,576
  • 4
  • 30
  • 35
245
votes
8 answers

How to get script of SQL Server data?

I'm looking for a way to do something analogous to the MySQL dump from SQL Server. I need to be able to pick the tables and export the schema and the data (or I can export the schema via SQL Server Management Studio and export the data separately…
Jared
  • 7,165
  • 6
  • 49
  • 52
233
votes
7 answers

Import / Export database with SQL Server Server Management Studio

I thought this would be trivial, but it isn't... I'm sure there is a simple way to do it but I can't manage to find it. Shame on me. I want to import/export the database itself, the tables, the constraints (foreign keys and so on). I'd rather not…
marcgg
  • 65,020
  • 52
  • 178
  • 231
230
votes
7 answers

How to export all data from table to an insertable sql format?

I have a Table (call it A_table) in a database (call it A_db) in Microsoft SQL Server Management Studio, and there are 10 rows. I have another database (call it B_db), and it has a Table (call it B_table), which has the same column settings as…
victorio
  • 6,224
  • 24
  • 77
  • 113
217
votes
7 answers

Export multiple classes in ES6 modules

I'm trying to create a module that exports multiple ES6 classes. Let's say I have the following directory structure: my/ └── module/ ├── Foo.js ├── Bar.js └── index.js Foo.js and Bar.js each export a default ES6 class: // Foo.js export…
vimfluencer
  • 3,106
  • 3
  • 17
  • 25
199
votes
9 answers

How do I export UIImage array as a movie?

I have a serious problem: I have an NSArray with several UIImage objects. What I now want to do, is create movie from those UIImages. But I don't have any idea how to do so. I hope someone can help me or send me a code snippet which does something…
Nuker
  • 2,577
  • 5
  • 21
  • 32
176
votes
9 answers

How can I export the schema of a database in PostgreSQL?

My computer broke down but fortunately I backed up the folder C:\Program Files\PostgreSQL. Now I'm working in a new computer and I would like to import the previous Postgres databases that are stored in the external disk. I would like to export the…
programmer
  • 4,571
  • 13
  • 49
  • 59
1
2 3
99 100