Search Results

Search: Posts Made By: yogeshkumkar
10,404
Posted By yogeshkumkar
Thanks methyl, you are right. I actually...
Thanks methyl,

you are right. I actually missed the -name parameter when replied.

my OS is Linux.
Linux taiga 2.6.16.60-0.27-smp #1 SMP Mon Jul 28 12:55:32 UTC 2008 x86_64 x86_64 x86_64...
10,404
Posted By yogeshkumkar
Thanks all, I managed it. It is simple....
Thanks all,

I managed it. It is simple. first create the list with full paths given a list of filenames as

for i in `cat /path/to/the/filenames.txt`;
do
find...
10,404
Posted By yogeshkumkar
Thanks Dave, find: paths must precede...
Thanks Dave,

find: paths must precede expression
Usage: find [-H] [-L] [-P] [path...] [expression]

the file "tobedeted.txt" is in the same dir where AAA, BBB, and so on are.

pwd:...
10,404
Posted By yogeshkumkar
Thanks for the comments Methyl and Dave. The...
Thanks for the comments Methyl and Dave.
The answer by Dave doesnt work. it simply removes the content of the tobedeted.txt.

The actual dir structure is like

in the main_dir
there are...
10,404
Posted By yogeshkumkar
Remove files from subdirectories given a list of filenames
Dear all,

I have a dir structure like
main_dir
At_nn Ag_js Nf_hc ....
mcd32 mgd43... mcd32...
2,321
Posted By yogeshkumkar
but filenames not getting changed.
Thanks for the reply.

This works fine. I could only see the changed filenames in a prompt mode.
Actual filenames are not changed.

I think I have to add something like >&

Please suggest....
2,321
Posted By yogeshkumkar
how to shift few words of filenames at a time using shell script
Hello everybody,

I have some files in directory. I want to shift 3 characters of filenames to the right at a same time.

for example, I have filenames like $ls -l
01_2000.G3.input.txt...
10,555
Posted By yogeshkumkar
extract nth line of all files and print in output file on separate lines.
Hello UNIX experts,

I have 124 text files in a directory. I want to extract the 45678th line of all the files sequentialy by file names. The extracted lines should be printed in the output file on...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy