LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-29-2008, 05:44 AM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
unix2dos: Unable to convert file


Code:
$> unix2dos qc.dos
unix2dos: converting file qc.dos to DOS format ...
unix2dos: can not write to output file
unix2dos: problems converting file qc.dos
I have a file that is somehow generated.
I want to unix2dos it but I'm unable to do it.
Tried chmod 777 too but does not work.

Any ideas?
Are there any characters that should not be inside the file that is stopping the conversion?
 
Old 07-29-2008, 06:03 AM   #2
murugesan
Member
 
Registered: May 2003
Posts: 149

Rep: Reputation: 28
FYI
http://<br /> http://www.linuxquesti...-491012/<br />
I am not sure about the information mentioned here.
 
Old 07-29-2008, 06:27 AM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Where is the file? Is it on a file system that could be readonly? What distro do you use that gives a "$>" prompt?
 
Old 07-31-2008, 04:32 AM   #4
murugesan
Member
 
Registered: May 2003
Posts: 149

Rep: Reputation: 28
I used the following url:

http://www.linuxquestions.org/questi...d-file-491012/
 
Old 07-31-2008, 04:41 AM   #5
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Doesn't really answer my question though.

What happens if you use

unix2dos -o ~/qc.dos qc.dos

Should put the output in your home directory
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unix2dos problems renaming converted file smilingdragon Linux - Software 6 12-31-2008 06:35 AM
howto convert .flw (koffice/kivio file) into windows readable type of file? rahmmandel Linux - Desktop 7 01-30-2007 05:12 PM
Howto convert bin file to a executable DOS file lilzz Linux - Newbie 5 08-04-2006 01:03 AM
unable to play wmv + convert verbose Linux - General 3 07-17-2005 04:16 PM
unix2dos not found Big Al Slackware 4 07-19-2004 04:25 PM


All times are GMT -5. The time now is 02:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration