FILE extention changing while copying from Ubuntu to windows












1















I downloaded data in Ubuntu which has an extention .text/plain bit when I copied it to my Windows 10 through USB the file extention is changed to '.file'. What should I do now to open it?










share|improve this question









New contributor




ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Welcome to Ask Ubuntu. Ubuntu doesn't use extensions so it wouldn't be Ubuntu that is changing the name of the file. Whatever program you are using to copy/transfer the file to windows (most likely on the windows end) is changing the filename as a means of 'security' (as windows uses extension to control action; Ubuntu uses file contents). If you file filename (where filename is the name of your file) you can view the type of file according to Ubuntu or any *nix)

    – guiverc
    4 hours ago













  • @guiverc Ubuntu certainly does use file extensions to the same extent Windows does. File extensions are standardised by IANA along with media types and shells such as Gnome and KDE use them for identifying icons and appropriate actions, which is exactly what Windows Explorer does.

    – Ben
    40 mins ago


















1















I downloaded data in Ubuntu which has an extention .text/plain bit when I copied it to my Windows 10 through USB the file extention is changed to '.file'. What should I do now to open it?










share|improve this question









New contributor




ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
















  • 1





    Welcome to Ask Ubuntu. Ubuntu doesn't use extensions so it wouldn't be Ubuntu that is changing the name of the file. Whatever program you are using to copy/transfer the file to windows (most likely on the windows end) is changing the filename as a means of 'security' (as windows uses extension to control action; Ubuntu uses file contents). If you file filename (where filename is the name of your file) you can view the type of file according to Ubuntu or any *nix)

    – guiverc
    4 hours ago













  • @guiverc Ubuntu certainly does use file extensions to the same extent Windows does. File extensions are standardised by IANA along with media types and shells such as Gnome and KDE use them for identifying icons and appropriate actions, which is exactly what Windows Explorer does.

    – Ben
    40 mins ago
















1












1








1








I downloaded data in Ubuntu which has an extention .text/plain bit when I copied it to my Windows 10 through USB the file extention is changed to '.file'. What should I do now to open it?










share|improve this question









New contributor




ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I downloaded data in Ubuntu which has an extention .text/plain bit when I copied it to my Windows 10 through USB the file extention is changed to '.file'. What should I do now to open it?







windows files file-format file-type






share|improve this question









New contributor




ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 14 mins ago









Arronical

13.2k84790




13.2k84790






New contributor




ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 4 hours ago









ammuammu

91




91




New contributor




ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






ammu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








  • 1





    Welcome to Ask Ubuntu. Ubuntu doesn't use extensions so it wouldn't be Ubuntu that is changing the name of the file. Whatever program you are using to copy/transfer the file to windows (most likely on the windows end) is changing the filename as a means of 'security' (as windows uses extension to control action; Ubuntu uses file contents). If you file filename (where filename is the name of your file) you can view the type of file according to Ubuntu or any *nix)

    – guiverc
    4 hours ago













  • @guiverc Ubuntu certainly does use file extensions to the same extent Windows does. File extensions are standardised by IANA along with media types and shells such as Gnome and KDE use them for identifying icons and appropriate actions, which is exactly what Windows Explorer does.

    – Ben
    40 mins ago
















  • 1





    Welcome to Ask Ubuntu. Ubuntu doesn't use extensions so it wouldn't be Ubuntu that is changing the name of the file. Whatever program you are using to copy/transfer the file to windows (most likely on the windows end) is changing the filename as a means of 'security' (as windows uses extension to control action; Ubuntu uses file contents). If you file filename (where filename is the name of your file) you can view the type of file according to Ubuntu or any *nix)

    – guiverc
    4 hours ago













  • @guiverc Ubuntu certainly does use file extensions to the same extent Windows does. File extensions are standardised by IANA along with media types and shells such as Gnome and KDE use them for identifying icons and appropriate actions, which is exactly what Windows Explorer does.

    – Ben
    40 mins ago










1




1





Welcome to Ask Ubuntu. Ubuntu doesn't use extensions so it wouldn't be Ubuntu that is changing the name of the file. Whatever program you are using to copy/transfer the file to windows (most likely on the windows end) is changing the filename as a means of 'security' (as windows uses extension to control action; Ubuntu uses file contents). If you file filename (where filename is the name of your file) you can view the type of file according to Ubuntu or any *nix)

– guiverc
4 hours ago







Welcome to Ask Ubuntu. Ubuntu doesn't use extensions so it wouldn't be Ubuntu that is changing the name of the file. Whatever program you are using to copy/transfer the file to windows (most likely on the windows end) is changing the filename as a means of 'security' (as windows uses extension to control action; Ubuntu uses file contents). If you file filename (where filename is the name of your file) you can view the type of file according to Ubuntu or any *nix)

– guiverc
4 hours ago















@guiverc Ubuntu certainly does use file extensions to the same extent Windows does. File extensions are standardised by IANA along with media types and shells such as Gnome and KDE use them for identifying icons and appropriate actions, which is exactly what Windows Explorer does.

– Ben
40 mins ago







@guiverc Ubuntu certainly does use file extensions to the same extent Windows does. File extensions are standardised by IANA along with media types and shells such as Gnome and KDE use them for identifying icons and appropriate actions, which is exactly what Windows Explorer does.

– Ben
40 mins ago












1 Answer
1






active

oldest

votes


















4














It appears that Windows adds the .file extension to any file with an extension it doesn't know/recognise. Understandable, because text/plain is not a file extension but rather a 'content type'.



It seems that opening the file has worked on Ubuntu, because GNOME can "associate a media type with a file by examining both the filename suffix and the contents of the file" (Wikipedia).



To open the file in Windows, you can simply change the extension from .file to .txt, which is the most likely filetype. However, depending on where and for what purpose you downloaded the file, it could also be a .dat (data) or other file. If you don't know how to change the file type, I'd advice to Google for it as that seems out of scope for this Ubuntu-oriented site :)






share|improve this answer



















  • 2





    Nice one. Just a pointer you can always expand/modify your answer (by clicking 'edit' below it) instead of deleting it and posting a new one :) Similarly you can 'undelete' an answer you deleted.

    – pomsky
    3 hours ago








  • 1





    More to the point, in Windows the character / in filename.text/plain is not a valid character for a filename. In Windows, filenames are not arbitrary sequences of bytes but a user-interface element with restrictions placed upon them to serve that purpose. Therefore control characters, and special shell metacharacters are not allowed. Whatever utility the poster used to copy the file has taken care of this issue.

    – Ben
    43 mins ago











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});






ammu is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110765%2ffile-extention-changing-while-copying-from-ubuntu-to-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














It appears that Windows adds the .file extension to any file with an extension it doesn't know/recognise. Understandable, because text/plain is not a file extension but rather a 'content type'.



It seems that opening the file has worked on Ubuntu, because GNOME can "associate a media type with a file by examining both the filename suffix and the contents of the file" (Wikipedia).



To open the file in Windows, you can simply change the extension from .file to .txt, which is the most likely filetype. However, depending on where and for what purpose you downloaded the file, it could also be a .dat (data) or other file. If you don't know how to change the file type, I'd advice to Google for it as that seems out of scope for this Ubuntu-oriented site :)






share|improve this answer



















  • 2





    Nice one. Just a pointer you can always expand/modify your answer (by clicking 'edit' below it) instead of deleting it and posting a new one :) Similarly you can 'undelete' an answer you deleted.

    – pomsky
    3 hours ago








  • 1





    More to the point, in Windows the character / in filename.text/plain is not a valid character for a filename. In Windows, filenames are not arbitrary sequences of bytes but a user-interface element with restrictions placed upon them to serve that purpose. Therefore control characters, and special shell metacharacters are not allowed. Whatever utility the poster used to copy the file has taken care of this issue.

    – Ben
    43 mins ago
















4














It appears that Windows adds the .file extension to any file with an extension it doesn't know/recognise. Understandable, because text/plain is not a file extension but rather a 'content type'.



It seems that opening the file has worked on Ubuntu, because GNOME can "associate a media type with a file by examining both the filename suffix and the contents of the file" (Wikipedia).



To open the file in Windows, you can simply change the extension from .file to .txt, which is the most likely filetype. However, depending on where and for what purpose you downloaded the file, it could also be a .dat (data) or other file. If you don't know how to change the file type, I'd advice to Google for it as that seems out of scope for this Ubuntu-oriented site :)






share|improve this answer



















  • 2





    Nice one. Just a pointer you can always expand/modify your answer (by clicking 'edit' below it) instead of deleting it and posting a new one :) Similarly you can 'undelete' an answer you deleted.

    – pomsky
    3 hours ago








  • 1





    More to the point, in Windows the character / in filename.text/plain is not a valid character for a filename. In Windows, filenames are not arbitrary sequences of bytes but a user-interface element with restrictions placed upon them to serve that purpose. Therefore control characters, and special shell metacharacters are not allowed. Whatever utility the poster used to copy the file has taken care of this issue.

    – Ben
    43 mins ago














4












4








4







It appears that Windows adds the .file extension to any file with an extension it doesn't know/recognise. Understandable, because text/plain is not a file extension but rather a 'content type'.



It seems that opening the file has worked on Ubuntu, because GNOME can "associate a media type with a file by examining both the filename suffix and the contents of the file" (Wikipedia).



To open the file in Windows, you can simply change the extension from .file to .txt, which is the most likely filetype. However, depending on where and for what purpose you downloaded the file, it could also be a .dat (data) or other file. If you don't know how to change the file type, I'd advice to Google for it as that seems out of scope for this Ubuntu-oriented site :)






share|improve this answer













It appears that Windows adds the .file extension to any file with an extension it doesn't know/recognise. Understandable, because text/plain is not a file extension but rather a 'content type'.



It seems that opening the file has worked on Ubuntu, because GNOME can "associate a media type with a file by examining both the filename suffix and the contents of the file" (Wikipedia).



To open the file in Windows, you can simply change the extension from .file to .txt, which is the most likely filetype. However, depending on where and for what purpose you downloaded the file, it could also be a .dat (data) or other file. If you don't know how to change the file type, I'd advice to Google for it as that seems out of scope for this Ubuntu-oriented site :)







share|improve this answer












share|improve this answer



share|improve this answer










answered 4 hours ago









KoenKoen

312324




312324








  • 2





    Nice one. Just a pointer you can always expand/modify your answer (by clicking 'edit' below it) instead of deleting it and posting a new one :) Similarly you can 'undelete' an answer you deleted.

    – pomsky
    3 hours ago








  • 1





    More to the point, in Windows the character / in filename.text/plain is not a valid character for a filename. In Windows, filenames are not arbitrary sequences of bytes but a user-interface element with restrictions placed upon them to serve that purpose. Therefore control characters, and special shell metacharacters are not allowed. Whatever utility the poster used to copy the file has taken care of this issue.

    – Ben
    43 mins ago














  • 2





    Nice one. Just a pointer you can always expand/modify your answer (by clicking 'edit' below it) instead of deleting it and posting a new one :) Similarly you can 'undelete' an answer you deleted.

    – pomsky
    3 hours ago








  • 1





    More to the point, in Windows the character / in filename.text/plain is not a valid character for a filename. In Windows, filenames are not arbitrary sequences of bytes but a user-interface element with restrictions placed upon them to serve that purpose. Therefore control characters, and special shell metacharacters are not allowed. Whatever utility the poster used to copy the file has taken care of this issue.

    – Ben
    43 mins ago








2




2





Nice one. Just a pointer you can always expand/modify your answer (by clicking 'edit' below it) instead of deleting it and posting a new one :) Similarly you can 'undelete' an answer you deleted.

– pomsky
3 hours ago







Nice one. Just a pointer you can always expand/modify your answer (by clicking 'edit' below it) instead of deleting it and posting a new one :) Similarly you can 'undelete' an answer you deleted.

– pomsky
3 hours ago






1




1





More to the point, in Windows the character / in filename.text/plain is not a valid character for a filename. In Windows, filenames are not arbitrary sequences of bytes but a user-interface element with restrictions placed upon them to serve that purpose. Therefore control characters, and special shell metacharacters are not allowed. Whatever utility the poster used to copy the file has taken care of this issue.

– Ben
43 mins ago





More to the point, in Windows the character / in filename.text/plain is not a valid character for a filename. In Windows, filenames are not arbitrary sequences of bytes but a user-interface element with restrictions placed upon them to serve that purpose. Therefore control characters, and special shell metacharacters are not allowed. Whatever utility the poster used to copy the file has taken care of this issue.

– Ben
43 mins ago










ammu is a new contributor. Be nice, and check out our Code of Conduct.










draft saved

draft discarded


















ammu is a new contributor. Be nice, and check out our Code of Conduct.













ammu is a new contributor. Be nice, and check out our Code of Conduct.












ammu is a new contributor. Be nice, and check out our Code of Conduct.
















Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1110765%2ffile-extention-changing-while-copying-from-ubuntu-to-windows%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Polycentropodidae

Magento 2 Error message: Invalid state change requested

Paulmy