07-28-2015
It doesn't change anything. I got the same result as before.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
so i have hundreds of files named history.20071112.tar
(history.YYYYMMDD.tar)
and im looking to extract one file out of each archive called status_YYYYMMDDHH:MM.lis
here is what i have so far:
for FILE in `cat dirlist`
do
tar xvf $FILE ./status_*
done
dirlist is a text... (4 Replies)
Discussion started by: kuliksco
4 Replies
2. UNIX for Dummies Questions & Answers
Hi, all,
I try to run a quite simple bash script mytest.sh in cygwin, it's content is:
#!/bin/bash
echo "It is my first bash shell"
there are three lines in the script. The second line is blank line.
When I run it use command: bash c:/mytest.sh, ... (6 Replies)
Discussion started by: Jenny.palmy
6 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone,
I am struggling a bit with a batch script that I need to run in cygwin. I work in winXP and I had to write some awk scripts to do some file manipulation, and now I would like to automate the process by just running a batch file so that my colleagues can use it easily.
Now, the... (2 Replies)
Discussion started by: Teroc
2 Replies
4. Shell Programming and Scripting
I'd like to streamline the code more than a bit to get it to run faster.
There's a thread about this and related issues of mine on the Cygwin mailing-list, but I want to eliminate any chances it might just be inefficient/inelegant/crappy code. A previous run of the same script on both Cygwin and... (6 Replies)
Discussion started by: SilversleevesX
6 Replies
5. Windows & DOS: Issues & Discussions
I'm using Notepad++ to edit my BASH scripts and using CYGWIN to run them from Windows7.
In Notepad++ there is a 'Run' capability. How do I get this to run my scripts directly without having to enter the script name from the Cygwin command line? (3 Replies)
Discussion started by: millsy5
3 Replies
6. Shell Programming and Scripting
As stated, I am looking into keeping my backup drive unmounted in normal windows use. Partly this is to address threats like cryptolocker. Since one of my backup drives is an internal drive, it will not likely afford any protection from such a threat. I am thinking of adding code to my rsync script... (5 Replies)
Discussion started by: LMHmedchem
5 Replies
7. Shell Programming and Scripting
All,
Have a weird issue where i need to generate a report from GitHub monthly detailing user accounts and the last time they logged in. I'm using a windows box to do this (work issued) and would like to know if anyone has any experience scripting for GitAPI using windows / cygwin / powershell?... (9 Replies)
Discussion started by: ChocoTaco
9 Replies
8. UNIX for Dummies Questions & Answers
I am using CygWin to run a bash file but I am getting weird results.
#!/bin/bash
mkdir CLEANDATA
mv *FASTA CLEANDATA
cd CLEANDATA
ls
echo "COMPLETE"
And this is what I get
$ ./Pipe.txt
./Pipe.txt: line 5: $'ls\r': command not found
COMPLETE
Moreover, the new folder is... (1 Reply)
Discussion started by: Xterra
1 Replies
9. UNIX for Beginners Questions & Answers
I am trying to use a batch file to automatically execute a bash script with no luck this far.
The batch script looks like this:
C:\Cygwin64\bin\bash test.sh
I have also tried this:
C:\Cygwin64\bin\bash "C:\Cygwin64\bin\test.sh"
Needless to say that the windows box has Cygwin... (7 Replies)
Discussion started by: Xterra
7 Replies
10. Shell Programming and Scripting
Hi
I am using cygwin in windows i need to send mail has attachment which was in tar.gz format
i was using this command to send mail. I can able to send mail but attachment was not happening
Is there any free email client to send mail has attachment which support tar file using cygwin... (15 Replies)
Discussion started by: ranjancom2000
15 Replies