Search Results

Search: Posts Made By: miss_dodi
3,332
Posted By miss_dodi
Linux Ubuntu 10.04.2
Linux Ubuntu 10.04.2
3,332
Posted By miss_dodi
Thank you all for ur efforts, unfortunately none...
Thank you all for ur efforts, unfortunately none of the suggested solutions has worked for me.
I managed to get the file name, the question is how to inser the file name before the concatenation...
3,332
Posted By miss_dodi
Thank you for your response. I think i didnt...
Thank you for your response.
I think i didnt explain what i need clearly,
I have 145 directories each one has many files,
for example one of the directories is
ClassA that has grade.txt...
3,332
Posted By miss_dodi
i think i should specify the path in the system...
i think i should specify the path in the system because i want to merge each directory with all .txt files in it in a separate file.
meaning
Directory A: has many files, i want to merge all .txt...
3,332
Posted By miss_dodi
include file name to extracted files
I've written the script below to merge only .txt files that exist in one directory into one huge .txt file and ignore other files with other extensions.
now the result is one huge .txt file with all...
1,253
Posted By miss_dodi
I've tried the script below sed 's/;/;\\n/'...
I've tried the script below

sed 's/;/;\\n/' testing.txt > testing2.txt


but that didn't work, the new line wasn't added after each ; in the output file (testing2.txt)

---------- Post...
1,253
Posted By miss_dodi
how to edit a content of a document to add \n after each ;
Hi:

I'm trying to write a script that reformats a given document (edit the content of a given document) , I want to add a new line \n after each ; in the document.

Regards
78,033
Posted By miss_dodi
Creation date of a directory
what's the command to find the creation date of a certain dirctory?
3,473
Posted By miss_dodi
I was mistaken, the cose below was the only thing...
I was mistaken, the cose below was the only thing that worked for me, but when i added

\( -name "*.txt" -a ! -name "*/en/*" \)
it didnt work
and i got this error

find: paths must precede...
3,473
Posted By miss_dodi
This is the only script that worked for me, in...
This is the only script that worked for me, in fact i want to do a further refinment to this code if it's possible, i would like to leave any *en*.txt files inside the DOC DOCS directories, i dont...
3,473
Posted By miss_dodi
Nope, that didn't work since the DOC DOCS exist...
Nope, that didn't work since the DOC DOCS exist on so many subdirectories.
this is what i came up with

find . -name DOC* | while read i
do
find $i -type f -name '*.txt'
echo $i
done
...
3,473
Posted By miss_dodi
I am running Ubuntu 10.4 The code i executed...
I am running Ubuntu 10.4

The code i executed is
find . -type f -name '*.txt' -exec ls -l {} \ ;
the code is running now but it's giving me all the .txt files in all subdirectories but i am...
3,473
Posted By miss_dodi
thank u for ur response am getting this error...
thank u for ur response
am getting this error now: missing argument to `-exec'
3,473
Posted By miss_dodi
Stuck in this shell script - please help
hi:

I'm trying to write a shell script that recognizes all .txt files in all the subdirectories in my current directory.
Let's say that i have a directory called Applications which consists of...
Showing results 1 to 14 of 14

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