10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I am trying to move all processed .csv files on sftp to archive dir . I tried to use wildcard *.csv but its not working . Is there any way to do this. I appreciate your help.
Regards,
raj (1 Reply)
Discussion started by: rajeevm
1 Replies
2. Shell Programming and Scripting
Hi, i have lots of single-column text files in a directory and i want to remove from each of them the first two lines and print the result in multiple new single-column files.
i know that for one file the below tail command would just do the job :
tail -n +3 filename > new_filename
is there... (4 Replies)
Discussion started by: amarn
4 Replies
3. Shell Programming and Scripting
I have a file that contains the following multiple times:
0<<
bla bla bla
bla bla bla
exit;
Can somebody give me a sed or AWK command I can use to remove all
occurances from this file.
I would like it to find 0<< (note the zero may be proceeded by spaces) and remove that line and... (3 Replies)
Discussion started by: BeefStu
3 Replies
4. Shell Programming and Scripting
Hi,
I am new to unix and looking out for some help in reading a file contents and replacing the characters, the requirement is I having a folder and having nearly 300 txt files, all the file contents contains some words we need to iterate all each and every files and need to find and replace it... (1 Reply)
Discussion started by: subrahmaniank
1 Replies
5. Shell Programming and Scripting
This is possibly a FAQ, but I was unable to find an answer: let's say you have two files named "hello.txt" and "goodbye.txt" and you want them to be "hi.txt" and "seeyou.txt". The typical regular expressions renamer apps do not apply, as you want different new names for each one of the files. The... (2 Replies)
Discussion started by: tokland
2 Replies
6. Shell Programming and Scripting
hi guys :>
after reading several beginner tutorials and howtos i got still some questions concerning a script, i'm working on atm. :confused:
Is it possible to check if a mounted cd (cdrw) is readable and/or writable (clean disk)?
Is it possible to open a new window which displays the... (6 Replies)
Discussion started by: gentox
6 Replies
7. UNIX for Dummies Questions & Answers
I have about 3000+ files name P08DDD that I want to rename U08DDD. How can I do this using a single command? (8 Replies)
Discussion started by: bbbngowc
8 Replies
8. UNIX for Dummies Questions & Answers
1. If Shell is something that handles the commands, what is the Operating System them? What does that do actually? Bridge the Shell and the Hardware or Instruction Set together?
2. One of the commands that I'm curious about is the "which" command. I want to know what is exactly written inside... (3 Replies)
Discussion started by: Legend986
3 Replies
9. Windows & DOS: Issues & Discussions
I have a batch file that takes 2 parameters--source file location and target file location.
I want to create another batch file that contains all the commands with the file locations so that I dont have to enter the ifnromation every time individually.
For eg:
to execute command
com1.bat... (3 Replies)
Discussion started by: alfredo123
3 Replies
10. Shell Programming and Scripting
Hi Can any body help me reg. this problem? The problem is
the format of the shell script should be
>renam old new
rename: it renames all files in current directory from old extension to new extension
old: it is the old extension of file name (including the '.' )
new: its the new extension
... (2 Replies)
Discussion started by: Prashanth.m
2 Replies