OS Manuals

/usr/bin/datacopy

FreeTDS is a set of libraries for Unix and Linux that allows programs to natively talk to Microsoft SQL Server and Sybase databases.

From freetds 1.5.21-r0 (os), captured 2026-11-09 by running datacopy --help (exit 1). permalink

/usr/bin/datacopy: invalid option -- '-'
usage: datacopy [-t | -a | -c owner] [-b batchsize] [-p packetsize] [-T textsize] [-v] [-d] [-E]
       [-S server/username/password/database/table]
       [-D server/username/password/database/table]
       -t : truncate target table before loading data
       -a : append data to target table
       -c : create table owner.table before loading data
       -b : alter the number of records in each bcp batch
       (larger batch size = faster)
       -p : alter the default TDS packet size from the default
       (larger packet size = faster)
       -T : Text and image size
       -E : keep identity values
       -v : produce verbose output (timings etc.)
       -d : produce TDS DUMP log (serious debug only!)
Options (11)
OptionDescriptionSource
-tTruncate target table before loading data.man
-aAppend data to target table.man
-c ownerCreate the target table with the same schema as the source table.man
-b batchsizeThe number of rows per batch of data copied.man
-p packetsizeThe number of bytes, per network packet, sent to and from the servers.man
-T textsizeSpecify size of TEXT/IMAGE column from network.man
-vProduce verbose output, including diagnostic timings.man
-dProduce freetds TDSDUMP output.man
-SThe connection information for the source server and the location/name of the table (or view) to be copied.man
-D server/username/password/database/tableThe connection information for the destination server and the location/name of the target table.man
-EKeep identity values.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.