File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes JSCH : dos2unix command not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JSCH : dos2unix command not working" Watch "JSCH : dos2unix command not working" New topic

JSCH : dos2unix command not working

rastogi payam
Ranch Hand

Joined: May 09, 2011
Posts: 42

Hi All,
In the following code I want to explode a tar file and then navigate to scripts folder and then want to execute dos2unix *.sh command

exit-status: 0
Everything runs fine but the last command i.e dos2unix *.sh is not executing.
Can anyone please suggest the way around to get it done.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: JSCH : dos2unix command not working
Similar Threads
JSP page to call unix scrpit
[Jsch] channel.connect works only sometimes
Execute a command on a remote Shell using JSCH
Invoking unix shell commands from java.
How to connect to Linux using Java code?