{"id":3154,"date":"2022-12-20T16:43:38","date_gmt":"2022-12-20T19:43:38","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/ntfscp-man8\/"},"modified":"2022-12-20T16:43:38","modified_gmt":"2022-12-20T19:43:38","slug":"ntfscp-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/ntfscp-man8\/","title":{"rendered":"NTFSCP (man8)"},"content":{"rendered":"<h1 align=\"center\">NTFSCP<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#DATA STREAMS\">DATA STREAMS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#BUGS\">BUGS<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a><br \/> <a href=\"#DEDICATION\">DEDICATION<\/a><br \/> <a href=\"#AVAILABILITY\">AVAILABILITY<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ntfscp \u2212 copy file to an NTFS volume.<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ntfscp<\/b> [<i>options<\/i>] <i>device source_file destination<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>ntfscp<\/b><\/i> will copy file to an NTFS volume. <i>destination<\/i> can be either file or directory. In case if <i>destination<\/i> is directory specified by name then <i>source_file<\/i> is copied into this directory, in case if <i>destination<\/i> is directory and specified by inode number then unnamed data attribute is created for this inode and <i>source_file<\/i> is copied into it (WARNING: it\u2019s unusual to have unnamed data streams in the directories, think twice before specifying directory by inode number).<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Below is a summary of all the options that <b>ntfscp<\/b> accepts. Nearly all options have two equivalent names. The short name is preceded by <b>\u2212<\/b> and the long name is preceded by <b>\u2212\u2212<\/b>. Any single letter options, that don\u2019t take an argument, can be combined into a single command, e.g. <b>\u2212fv<\/b> is equivalent to <b>\u2212f \u2212v<\/b>. Long named options can be abbreviated to any unique prefix of their name. <b><br \/> \u2212a<\/b>, <b>\u2212\u2212attribute<\/b> NUM<\/p>\n<p style=\"margin-left:22%;\">Write to this attribute.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212i<\/b>, <b>\u2212\u2212inode<\/b><\/p>\n<p style=\"margin-left:22%;\">Treat <i>destination<\/i> as inode number.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212m<\/b>, <b>\u2212\u2212min-fragments<\/b><\/p>\n<p style=\"margin-left:22%;\">Minimize fragmentation when allocating space to the attribute. This is mostly useful when creating big files.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212N<\/b>, <b>\u2212\u2212attr\u2212name<\/b> NAME<\/p>\n<p style=\"margin-left:22%;\">Write to attribute with this name.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212n<\/b>, <b>\u2212\u2212no\u2212action<\/b><\/p>\n<p style=\"margin-left:22%;\">Use this option to make a test run before doing the real copy operation. Volume will be opened read\u2212only and no write will be done.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212f<\/b>, <b>\u2212\u2212force<\/b><\/p>\n<p style=\"margin-left:22%;\">This will override some sensible defaults, such as not working with a mounted volume. Use this option with caution.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212h<\/b>, <b>\u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:22%;\">Show a list of options with a brief description of each one.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212q<\/b>, <b>\u2212\u2212quiet<\/b><\/p>\n<p style=\"margin-left:22%;\">Suppress some debug\/warning\/error messages.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212t<\/b>, <b>\u2212\u2212timestamp<\/b><\/p>\n<p style=\"margin-left:22%;\">Copy the modification time of source_file to destination. This is not compatible with <b>\u2212\u2212attr\u2212name<\/b> and <b>\u2212\u2212attribute<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V<\/b>, <b>\u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:22%;\">Show the version number, copyright and license <b>ntfscp<\/b>.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212v<\/b>, <b>\u2212\u2212verbose<\/b><\/p>\n<p style=\"margin-left:22%;\">Display more debug\/warning\/error messages.<\/p>\n<h2>DATA STREAMS <a name=\"DATA STREAMS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">All data on NTFS is stored in streams, which can have names. A file can have more than one data streams, but exactly one must have no name. The size of a file is the size of its unnamed data stream. Usually when you don\u2019t specify stream name you are access to unnamed data stream. If you want access to named data stream you need to add &#8220;:stream_name&#8221; to the filename. For example: by opening &#8220;some.mp3:artist&#8221; you will open stream &#8220;artist&#8221; in &#8220;some.mp3&#8221;. But windows usually prevent you from accessing to named data streams, so you need to use some program like FAR or utils from cygwin to access named data streams.<\/p>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Copy new_boot.ini from \/home\/user as boot.ini to the root of an \/dev\/hda1 NTFS volume:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>ntfscp \/dev\/hda1 \/home\/user\/new_boot.ini boot.ini<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Copy myfile to C:somepathmyfile:stream (assume that \/dev\/hda1 letter in windows is C):<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>ntfscp \u2212N stream \/dev\/hda1 myfile \/some\/path<\/b><\/p>\n<h2>BUGS <a name=\"BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">There are no known problems with <b>ntfscp<\/b>. If you find a bug please send an email describing the problem to the development team: <br \/> ntfs\u22123g\u2212devel@lists.sf.net<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ntfscp<\/b> was written by Yura Pakhuchiy, with contributions from Anton Altaparmakov and Hil Liao. It was ported to ntfs-3g by Erik Larsson.<\/p>\n<h2>DEDICATION <a name=\"DEDICATION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">With love to Marina Sapego.<\/p>\n<h2>AVAILABILITY <a name=\"AVAILABILITY\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ntfscp<\/b> is part of the <b>ntfs-3g<\/b> package and is available from: <br \/> http:\/\/www.tuxera.com\/community\/<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ntfsprogs<\/b>(8)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ntfscp \u2212 copy file to an NTFS volume. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,298],"class_list":["post-3154","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-ntfscp"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3154"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3154\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}