10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello Everyone,
I want to delete the image files from a directory, which are not listed in a TEXT file.
The directory contains large number of image files (in millions) required / not required. I want to delete the image files which are "not required".
I have generated a Text file having... (3 Replies)
Discussion started by: Praveen Pandit
3 Replies
2. Shell Programming and Scripting
Hi Team,
Here's the scenario,
I have a text file called "file_list.txt". Its content is as follows.
111.tmp
112.tmp
113.tmp
114.tmp
These files will present in "workdir" directory. It has many files. But only the files present in file_list.txt has to be deleted from the workdir... (7 Replies)
Discussion started by: kmanivan82
7 Replies
3. Shell Programming and Scripting
Hi All,
When i give the ls -lrt to list out all files with total number of files , i get the output as
ls -lrt
total 72
-rw-r--r-- 1 hari staff 796 Jul 11 09:17 va.txt
-rw-r--r-- 1 hari staff 169 Jul 13 00:20 a.log
-rwxr-xr-x 1 hari staff 659 Aug... (9 Replies)
Discussion started by: Kalaihari
9 Replies
4. Shell Programming and Scripting
Hi all,
I am using command
find $InputPath -type f -mtime +30
However, I need to capture the file listed in screen.
May I know how to achieve this?
Thank you. (12 Replies)
Discussion started by: ashly
12 Replies
5. Shell Programming and Scripting
I am trying to write a script that will copy all file listed in a text file (100s of file names) to a new directory
Assume script will run with main as current working directory and I know how many files/lines will be in List.txt
Im trying to work up a test script using this model
Contents of... (2 Replies)
Discussion started by: IAmTheGrass
2 Replies
6. Shell Programming and Scripting
1.give the command wc -l *e* > create2.txt
2.now create2.txt contains
a.txt
b.txt
c.txt
d.txt
3.create2.txt is a random file ( output may vary depends on time) (eg: a1.txt , b1.txt,c1.txt,d1.txt if time changes)
4. now i want to cut the first colum from all the files mentioned in... (12 Replies)
Discussion started by: adaleru
12 Replies
7. Shell Programming and Scripting
Hi All,
Using this command wc -l *e* > create2.txt i'm getting the following output >>>create2.txt listed output files, my requirement is how to cut the first coloum in all the files mentioned in create2.txt in perl.
50 allignment.pl
3 create.txt
4 application.txt
... (8 Replies)
Discussion started by: adaleru
8 Replies
8. Shell Programming and Scripting
Hi,
I have a data file that lists a number of files. I want to move the files named in that one to another directory. Here's what I have:
#!/usr/bin/perl -w
open(FILE, "<collision.txt");
my @lines=<FILE>;
foreach my $lines (@lines) {
system("mv $lines collisions/.");
}
close(FILE);
... (2 Replies)
Discussion started by: renthead720
2 Replies
9. Shell Programming and Scripting
I have many pdf's scattered across 4 machines. There is 1 location where I have other Pdf's maintained. But the issues it the 4 machines may have duplicate pdf's among themselves, but I want just 1 copy of each so that they can be transfered to that 1 location.
What I have thought is:
1) I have... (11 Replies)
Discussion started by: deaddevil
11 Replies
10. Shell Programming and Scripting
Hi,
Say I have this text file <copy.out> that contains a list of files/directories to be copied out to a different location.
$ more copy.out
dir1/file1
dir1/file2
dir1/file3
"dir1/white space"
dir1/file4
If I do the following:
$copy=`more copy.out`
$echo $copy
dir1/file1... (4 Replies)
Discussion started by: 60doses
4 Replies
Directories(4) Kernel Interfaces Manual Directories(4)
NAME
Directories - Contains queued requests for file transfers and command executions on remote systems
SYNOPSIS
/usr/spool/uucp/SystemName
DESCRIPTION
The /usr/spool/uucp/SystemName directories are the uucp program spooling directories on the local system. The uucp program creates a Sys-
temName directory for each system listed in the /usr/adm/uucp/Systems file, including the local system.
Each SystemName directory contains queued requests issued by local users for file transfers to remote systems and for command executions on
remote systems.
The uucp program uses several types of administrative files to transfer data between systems. These files are stored in the SystemName
directories. They are: Contain directions for the uucico daemon concerning file transfers. Contain data to be sent to remote systems by
the uucico daemon. Contain instructions for running commands on remote systems. Contain data files after their transfer to the remote
system until the uucp program can deliver them to their final destinations (usually the /usr/spool/uucppublic directory).
RELATED INFORMATION
Daemons: uucico(8), uusched(8), uuxqt
Commands: uucp(1), uux(1) delim off
Directories(4)