10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
i need your advice.
i will find all *.pdf files and make a folder for every different prefix of file names.
for example:
test_21424234.pdf
new_242342.pdf
at the and i will that i create ( if not exits ) a new folder "test" and "new" , afterwards i will move the file in this new... (3 Replies)
Discussion started by: Maxwill
3 Replies
2. UNIX for Dummies Questions & Answers
Hi,
Please help me i have a file directory in .txt. inside this directory is a list of names of folders to find inside in a folder.
to make more easy to understand
below is my list inside .txt:
foldernameA
foldernameB
foldernameC
I need to check if those folder names are inside... (1 Reply)
Discussion started by: cmarzan
1 Replies
3. Shell Programming and Scripting
I have a file named file.txt that looks as follows
//class1.txt
45
234
67
89
90
//class2.txt
456
34
78
89
120
class1 and class2.txt are the names of files in a folder named folder1.
The content of class1.txt file in folder1
67 9
89 5
234 9The content of class2.txt file in... (1 Reply)
Discussion started by: jaff rufus
1 Replies
4. Shell Programming and Scripting
Hi,
I have a folder which contains some files
a1.txt
a2.txt
a3.txt
a4.txt
a5.txt
a6.txt
a7.txt
a8.txt
a_index.txt
Also i have a text file which contains entries like this
a1.txt
a3.txt
a7.txt
I want to comapare this text file and folder and remove the similar values in... (12 Replies)
Discussion started by: arijitsaha
12 Replies
5. Red Hat
Hi,
Need to compare two folders / File systems permissions & time stamps including sub folders and files.
Kindly let me know if any commands available.
Regards :: VM (1 Reply)
Discussion started by: novaothers
1 Replies
6. Shell Programming and Scripting
Hi all.
I am very new to linux scripting and i have a task i can only solve with a script.
I need to sort files base on the date string in their filenames and create a folder using the same date string then move the files to their respective folders.
Scenario:
Folder Path:... (1 Reply)
Discussion started by: ace47
1 Replies
7. Shell Programming and Scripting
Hi,
How do i check if there are any files present in the folder with some specific starting string.
For eg :- I have used this where Source_File is filename parameter.
if
then
return 2
fi
But in my case the source file name is not constant. The only constant thing is... (10 Replies)
Discussion started by: chetancrsp18
10 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I want to extract myfile.war to a folder which is in the same folder with war file.I did this as normal:
jar -xvf myfile.war
But it exploded all the content of file to the same level folder instead of that I was expecting to create a folder called myfile.
This works with tar:
... (0 Replies)
Discussion started by: reis3k
0 Replies
9. Shell Programming and Scripting
I want to compare two file using filename.
suppose two files are same directory.
what is the command for this.
thanks in advance... (3 Replies)
Discussion started by: rinku
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a .txt file which has to be compared with a folder and print the difference to some other .txt file.
I did try with the diff command..i mean
diff /tmp/aaa/bbb.txt /space/aaa/bbb/
/***bbb.txt contains all the files names which may or may not exist in the folder bbb..so i need... (2 Replies)
Discussion started by: kumarsaravana_s
2 Replies