09-14-2010
Have you tried writing one? Are you getting any errors? This can be done with a simple find command. **hint** **hint** man find
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Would appreciate if any one can paste a generic schell script to archive a file with date stamp by passing the file with fullpath as parameter
For Eg. /apps/scripts/Archive_File.sh /data_home/project_home/file.txt
this should place the file in the following directory
... (8 Replies)
Discussion started by: mak1600
8 Replies
2. Shell Programming and Scripting
#SD=source dir TD= target dir
SD="$/amddev/app01/manoj/new/scripts/old"
TD="$/amddev/app01/manoj/new/scripts/new"
EXT="$*.txt"
for i in `ls -F "$SD"/*"$EXT"|grep -v /$` do
mv "$SD" "$TD"
if
then
echo "$i" successfully moved
echo Manoj successfully..1 ( here i... (8 Replies)
Discussion started by: manojkarthi
8 Replies
3. Shell Programming and Scripting
Hi ,
I need a shell script which basicaly moves all the files from one folder say folder x to folder y and once they are moved to folder y a datetimestamp should be attached to there name
for ex
file a should be moved to y folder and renamed as a_20081015 (1 Reply)
Discussion started by: viv1
1 Replies
4. Shell Programming and Scripting
Hi All
I need a shell script for move the 1 year old files from one folder to another folder with date and time.
How to write a shell script for the same pls hepl me out.
thanx in advance
Thanx
Lalit (2 Replies)
Discussion started by: lalitkumar
2 Replies
5. Shell Programming and Scripting
Hi
I need to move last 1 year old files from one folder to another location on same server.How to write a shell script for the same?
thanx
Lalit (8 Replies)
Discussion started by: lalitkumar
8 Replies
6. Shell Programming and Scripting
Hi All,
I'm trying to write a script which will do following :
- For any old log under trace directory, if found move it to Archive
- Check for a process “process-A” if it is running abort from the script
- Else start it up (start_process-A.sh this case)
- If it fails to start the... (1 Reply)
Discussion started by: mohullah
1 Replies
7. Shell Programming and Scripting
Hello All,
I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60%
Need to identify the unique file system that reaches threshold value.
ex:
capacity
... (4 Replies)
Discussion started by: sasikanthdba
4 Replies
8. Ubuntu
There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/logyou need to find out all the log files of last 1 month and move them into $HOME/logs/lastmonth/
this should be implemented with reference of file name.
---------- Post updated at 12:30 PM ----------... (3 Replies)
Discussion started by: shajoftaj
3 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
There are files stored like 14.Aug.2014.log, 15.Aug.2014.log etc. in a folder $HOME/log you need to find out all... (4 Replies)
Discussion started by: shajoftaj
4 Replies
10. Shell Programming and Scripting
I need help to write shell script to copy files from one server to another server.
Source Directory UAE(inside i have another folder Misc with files inside UAE folder).I have to copy this to another server UAE folder( Files should be copied to UAE folder and Misc files should be copied in target... (3 Replies)
Discussion started by: naresh2389
3 Replies
LEARN ABOUT FREEBSD
kldxref
KLDXREF(8) BSD System Manager's Manual KLDXREF(8)
NAME
kldxref -- generate hints for the kernel loader
SYNOPSIS
kldxref [-Rdv] [-f hintsfile] path ...
DESCRIPTION
The kldxref utility is used to generate hint files which list modules, their version numbers, and the files that contain them. These hints
are used by the kernel loader to determine where to find a particular KLD module.
A separate hint file is generated for each directory listed on the command line that contains modules. If no hint records are generated for
a particular directory, no hint file is created, and the preexisting hint file (if there was one in that directory) is removed.
The following options are available:
-R Recurse into subdirectories.
-d Do not generate a hint file, but print module metadata on standard output.
-f hintsfile
Specify a different name for the hints files than linker.hints.
-v Operate in verbose mode.
EXAMPLES
To build hint files for both standard and add-on modules:
kldxref /boot/kernel /boot/modules
To build hint files for all installed kernels:
kldxref -R /boot
SEE ALSO
kld(4), kldconfig(8), kldload(8), kldstat(8), kldunload(8)
HISTORY
The kldxref utility first appeared in FreeBSD 5.0.
AUTHORS
The kldxref utility was implemented by Boris Popov <bp@FreeBSD.org>. This manual page was written by Boris Popov <bp@FreeBSD.org> and
Dag-Erling Smorgrav <des@FreeBSD.org>.
BSD
October 9, 2001 BSD