show all text files in directories and subdirectories
Hi!
I am trying to find all text files in my home directory that contain the string "C-d" so I tyied this :
but it took very long so I tryed this :
but it didn't descend in the directories and it said :
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
What do I have to do to see all text files in my home directory?
Thanks,
Miha
Moderator's Comments:
Please use next time code tags for your code and data
Hi,
How to recursively remove Ctrl M characters in files from a directory and its sub directory ?
I know unix2dos command is there but to remove in bunch of files ... ?
Thanks (7 Replies)
Is it possible to have a directory owned (by root) with permissions drwx------
and then have a sub directory of rwxrwxrwx.
I know that this may be soo simple but I had no luck googling it.
Thanks for your help (1 Reply)
Hi Genius,
I would like to display all the subdirectories only with timestamp.
For exmple:
Given Directory : orabkup
/orabkup
total 11365112
drwxr-xr-x 9 oracle oradba 256 Jan 03 16:01 db1
/orabkup/db1:
total 0
drwxr-xr-x 2 oracle oradba 256 Jan 03 16:01... (8 Replies)
How can list the directories and the subdirectories in a folder. It is possible with a single UNIX command.
For example i have a folder named "archive" and another folder named "0808" and then multiple folders are there ...
Can i list all the directories and subdirectories in the folder... (6 Replies)
Hello
I'm new to the area Bash scripting
and that is why I have a search script that is run on my unix server
and always when I start the server
or every 24 hours
The script will create backups of directories and subdirectories
I never found what I'm here make a new thread ... (1 Reply)
Hi experts,
I'mvery new to shell scripting and learning it now
currently i am having a problem which may look easy to u :)
i have two files
File 1:
Start :Thu Nov 19 10:33:09 2009
ABCDGFSDJ.txt
APDemoNew.ppt
APDemoOutline.doc
ARDemoNew.ppt
ARDemoOutline.doc
File 2:
Start... (10 Replies)
Hello all, i'm stumped.... I need to list all directories with all there info and exclude the files, then vice versa. I am not sure if I need to string several ls commands together or how to even do that. I believe I need to do some variation of ls -l but need to figure out how to take out the... (5 Replies)
Hi,
I want to untar all log files from following tarred directory hierarchy
Log_files.tar.gz/subject*.tar.gz/project*/*.log
It means there are subject1.tar.gz to subject9.tar.gz and in those tarred subect directories there are project1 - project5 directories and in those directories there... (2 Replies)
Hello,
I have to find all directories, which contain files, but dont have subdirectories.
For example if i have tree like:
├── kat11
│ ├── kat21
│ │ └── Dokument\ bez\ nazwy
│ └── kat22
│ ├── kat31
│ │ └── Dokument\ bez\ nazwy
│ └── kat32
│ └──... (13 Replies)
Hi,
Is is possible to zip a folder and all its contents within the folder ( including sub-directories and files) into a zip file? and can regain the same structure if unzipped?
Thanks (6 Replies)
Discussion started by: rudoraj
6 Replies
LEARN ABOUT ULTRIX
uucompact
uuaids(8c)uuaids(8c)Name
uucompact, uumkspool, uurespool, uupoll - uucp utilities
Syntax
uucompact -ssystem
uumkspool system ...
uurespool [ -t# ]
uupoll system ...
Description
All of the commands are located in
The command compacts uucp system spool directories and associated subdirectories. If system is ALL, then all existing uucp system spool
directories are compacted. Otherwise, only the specified system spool directory is compacted. If no system is specified, is compacted.
If is stopped before it is finished, it can be restarted without reprocessing directories. The command continues processing where it left
off during it's previous instantiation.
The command makes a per system spool directory and associated subdirectories for each of the specified systems. For example, if system is
mk3 and if the local system name is penny, the following directories are created:
/usr/spool/uucp/sys/mk3
/usr/spool/uucp/sys/mk3/C.
/usr/spool/uucp/sys/mk3/X.
/usr/spool/uucp/sys/mk3/D.
/usr/spool/uucp/sys/mk3/D.penny
/usr/spool/uucp/sys/mk3/D.penny
The command moves files from old spool directories to new spool directories. Because the structure of the spool directories has changed
from older versions of it is necessary to respool old spooled files to new spool directories in at least two instances:
o When installing the current version of
o When creating a new system spool directory for each system.
In the latter case, it is necessary to move files from to the new spool directories. To ease this task, moves files that have been spooled
in one of 4 formats and respools them under the new spooling structure. The format is specified by the -t# option, where the number sign
(#) can be any one of the following:
o Original spool - All files are in
o Split spool - Contains the subdirectories
o Modified split spool - Contains all subdirectories listed in split spool, and
o Used when a new system directory has been created and spool files must be moved from the DEFAULT directory to the new system directory.
The command forces a connect attempt to the named systems even if recent attempts have failed, but not if the file prohibits the call. For
example, the file will prohibit the call if it is the wrong time of day. Thus, the should be monitored for messages about the connection.
Files
Spool directory
Logfile
See Alsomail(1), uucp(1c), uux(1c)uuaids(8c)