Unfortunately I don't know who would make one for me and idk how to make the file other than the way i did it before. is this the correct way to start?
I have list of files named file_username_051208_025233.log. Here 051208 is the date and 025233 is the time.I have to run thousands of files daily.I want to put all the files depending on the date of running into a date directory.Suppose if we run files today they should put into 05:Dec:08... (3 Replies)
Hi All
I was wondering what is the most efficient way to find files in the current directory(that may contain 100,000's files), that meets a certain specified file type and of a certain age.
I have experimented with the find command in unix but it also searches all sub directories. I have... (2 Replies)
I want to backup all the directory tress, including hidden directories, without copying any files.
find . -type d gives the perfect list.
When I tried tar, it won't work for me because it tars all the files.
find . -type d | xargs tar -cvf a.tar
So i tried rsync.
On my own test box, the... (4 Replies)
Hi All,
I want to search for .log files from folders and sub folders in remote server and FTP them to one particular folder in the local machine. I dont want to copy the entire directory tree structure, just have to take all the .log files from all the folders by doing a recursive search from the... (3 Replies)
Hi.
My example:
I have a filesystem /log. Everyday, log files are copied to /log. I'd like to set owner and permission for files and directories in /log like that
chown -R log_adm /log/*
chmod -R 544 /log/*It's OK, but just at that time. When a new log file or new directory is created in /log,... (8 Replies)
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Hi All,
Daily i am doing the house keeping in one of my server and manually moving the files which were older than 90 days and moving to destination folder.
using the find command . Could you please assist me how to put the automation using the shell script .
... (11 Replies)
Given a directory containing say a few thousand files,
please output a list of all the names of the files in the directory that are exactly the same, i.e. have the same contents.
func(a_directory_name) output -> {“matches”: , ... ]}
e.g. func(“/home/my/files”) where the directory... (7 Replies)
Discussion started by: anuragpgtgerman
7 Replies
LEARN ABOUT CENTOS
coverpg
make.coverpg(1) mgetty+sendfax manual make.coverpg(1)NAME
make.coverpg - create a fax coverpg on stdout
SYNOPSIS
make.coverpg [options] <pages> <sender-ID> <sender-NAME> <receiver-ID> <receiver-NAME> <date> <time>
DESCRIPTION
make.coverpg is called from faxspool(1) to generate a cover page for the just-processed fax. It has to create a proper G3 file (e.g. via
pbm2g3(1) or hp2hig3(1) or ghostscript(1)) and output that on stdout. If the program doesn't exist, or can't be executed, the fax simply
won't get a coverpage (so, if you don't want a fax coverpage, do not install it...)
make.coverpg can put anything it wants on the page, but note that there are certain legal requirements in certain countries about the con-
tents that *have* to be on the cover page, for example, the fax phone number of the sender and the recepient, the number of pages, or simi-
lar things.
make.coverpg gets the informations about the fax to be sent from the command line, in the order listed above.
If the environment variable normal_res is set to something non-empty, faxspool requests that make.coverpg creates a cover page in normal
resolution (98 lpi). Default is fine resolution (196 lpi).
NO make.coverpg program is installed by default, since everyones needs differ too wildly.
Some sample coverpage programs are provided in the mgetty source tree, in the samples/ subdirectory (coverpg.pbm shows how to do it with
"pbmtext|pbm2g3", coverpg.ps shows how I do it with ghostscript).
In this directory, you can also find two shell scripts (fax and faxmemo) that will take advantage of one more esoteric feature of my cover-
page programs: if called with the option "-m <memo-file>", the sample programs will put a text file "<memo-file>" on the cover page (used
for short notes or such). To make use of it, faxspool is called with the option '-C "make.coverpg -m <memo-file>"' (the double quotes are
needed!).
OPTIONS
none
Example
A five-page fax sent from me to my second number could result in a call like this:
make.coverpg 5 "+49-89-3243328" "Gert Doering" "3244814" "myself" "Sep 15 94" "22:10:00"
FILES
/usr/lib64/mgetty+sendfax/make.coverpg
the program itself
SEE ALSO faxspool(1), pbm2g3(1), ghostscript(1)AUTHORS
The idea behind make.coverpg is Copyright (C) 1993 by Gert Doering, <gert@greenie.muc.de>, the implementation will most likely have
yours...
greenie 27 Oct 93 make.coverpg(1)