10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
the following excludes certain directories successfully
cp -r probe/!(dir) /destination
I want to exclude certain file types and tried unsuccessfully
cp -r probe/!(*.avi) /destination (2 Replies)
Discussion started by: tmf
2 Replies
2. Red Hat
Hi guys,
I have just been bothered by a fairly small issue for some time now. I am trying to search (using find -name) for some .jpg files recursively. This is a Redhat environment with bash.
I get this job done though I need to copy ALL of them and put them in a separate folder BUT I also... (1 Reply)
Discussion started by: rockf1bull
1 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have several thousand files with different extensions in a directory. Is there a single command to get what the various extensions are with a single command.
Thanks for your help!
Best,
Guss (2 Replies)
Discussion started by: Gussifinknottle
2 Replies
4. Shell Programming and Scripting
I'm trying to create a simple file inventory for a series of huge directories containing e-records. What I'm after is a list of all directories and sub-directories with just the number of each type of file in that directory/sub-directory. For example output would look like:
... (6 Replies)
Discussion started by: dorcas
6 Replies
5. UNIX for Dummies Questions & Answers
I have a directory with file types ending .log, .mml, .gll, .dll . How can I grep expressions only in say the .log files? (3 Replies)
Discussion started by: bbbngowc
3 Replies
6. Shell Programming and Scripting
Now that I have a file that looks something like this;
20050926 Unknown
20050926 MUREXFO
20050926 MUREXFO
20050926 MUREXFO
20050926 Unknown
20050926 KADDUSS
20050926 KADDUSS
20050926 KADDUSS
20050926 MUREXFO
Is there a way in vi that I can search the file and remove any line... (2 Replies)
Discussion started by: morgadoa
2 Replies
7. Shell Programming and Scripting
I am trying to write a script and failing miserably. I have a file that looks something like this;
20050924-155819;Backoffice;1037;0;DDT-TCP/IP;;0;Node
20050924-155902;Unknown;1036;0;DDT-TCP/IP;;0;Node
20050924-155922;FrontOffice;1040;5;DDT-
The desired result is one file containing only... (4 Replies)
Discussion started by: morgadoa
4 Replies
8. UNIX for Dummies Questions & Answers
Hey y'all,
I need some help with the nitty gritty of the ls command.
-First off in the man pages in the -l mode the first character can be "door" can anyone tell me what a door is???
-also in the -l mode the first character can be "fifo"or"pipe" can anyone tell me what a this is???
-What... (4 Replies)
Discussion started by: jacob358
4 Replies
9. Filesystems, Disks and Memory
I have a file of type .for extension .In a guui based unix environment like solaris if I double click on that file a specific program designed by me has to run which takes this file as the parameter and exceutes the program.
Can anyone help me? (8 Replies)
Discussion started by: nhk_srd
8 Replies
10. Linux
Hi all, quick question...
Im trying to configure Redhat 9 to dial out to my ISP AOL. I have found some software to do this but at present I can't get net access under Linux for the reason stated. I can however acces the net using my laptop running windows.
The question is:
I have downloaded... (3 Replies)
Discussion started by: brady9953
3 Replies