find(1) is your friend. Look at man pages.
You want something like:
Note that find operates recursively, so it will pick up all files, also those nested deeper in the subdirs. If this is undesired, use
'-maxdepth 1' switch
Hi All,
I have a Sqlplus report which will create a file.
I need a FTP Script that will be executed inside the Sqlplus Report to FTP the report output file to unix server.
Thanks,
Previn (0 Replies)
Hi All,
I need to find out the completed transactions count which happened during a particular time duration from a log file. I'm a newbie with scripts and i'm unable to figure out how to get this task done with scripts. I have a transaction log file which has various lines indicating the... (1 Reply)
Hi Friends,
I'm new to unix, I have the below script which takes regular backup. Now if fbackup fails I get the below messages in my log as
fbackup(3047): could not open output file /dev/rmt/0m
fbackup(3019): would you like to enter a new output file?
fbackup(3004): writer aborting... (4 Replies)
Hi,
I have multiple servers and each server hosts multiple databases. Now i have requirement as below
1) Create a file in any server which will hold all the database name.
2) Write a shell script that will read the file and connect to each and every database. and log out of it one by... (2 Replies)
Hi Experts,
Basically I am a SAP programmer. I don't know much about UNIX. But I got a situation, need to use UNIX script /command in my programming.
I searched the forum and found the below code.
I would like to pass the below UNIX script in my programming code. But my programming will... (1 Reply)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
2. Shell Bash Script
3.
!/bin/bash
if
echo no directory
then
mkdir -p /home/AC_Drywall
elif ; then
echo "$dir already exist"
fi (4 Replies)
Hi All,
Its urgent.. pls help me out.. I want to create a KSH which should generate a report with the list of users and the files larger than 5 GB created by them in a direcorty and send autogenerated e-mail to them.
my input would be users list,directory path and the file size (say 5 GB)
... (11 Replies)
hi guys,
i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not
and again i have to reverse sftp the files from unix to windows server.....
regards,
Vasa Saikumar. (13 Replies)
Hello Guys,
From a given file I have to find out what are all values for "Application States :" and how many of them have same state.
eg :
If there are possible states in file :
Application States : Normal
Application States : Terminated
Application States : Pending
and if there... (11 Replies)
The 'env' command prints out all of the environment variables and their values.
Come up with a command that prints a list of environment variables whose names
end with either 'NAME', 'DIR' or 'PATH'.
What I've tried.
$ env | grep ''
Although it highlights the part of the variables... (8 Replies)
Discussion started by: edujs7
8 Replies
LEARN ABOUT LINUX
tags
TAGS(3erl) ERLANG MODULE DEFINITION TAGS(3erl)MODULE
tags - Generate Emacs TAGS file from Erlang source files.
DESCRIPTION
A TAGS file is used by Emacs to find function and variable definitions in any source file in a big project. This module can generate a
TAGS file from Erlang source files. It recognises functions, records, and defines.
EXPORTS
root([Options])
Create a TAGS file covering all files in the Erlang distribution.
file(File [, Options])
Create a TAGS file for the file `File'.
files(FileList [, Options])
Create a TAGS file for the files in the list `FileList'.
dir(Dir [, Options])
Create a TAGS file for all files in directory `Dir'.
dirs(DirList [, Options])
Create a TAGS file for all files in any directory in `DirList'.
subdir(Dir [, Options])
Descend recursively down the directory `Dir' and create a TAGS file based on all files found.
subdirs(DirList [, Options])
Descend recursively down all the directories in `DirList' and create a TAGS file based on all files found.
OPTIONS
The functions above have an optional argument, Options. It is a list which can contain the following elements:
{outfile, NameOfTAGSFile}
Create a TAGS file named `NameOfTAGSFile'.
{outdir, NameOfDirectory}
Create a file named TAGS in the directory `NameOfDirectory'.
The default behaviour is to create a file named "TAGS" in the current directory.
SEE ALSO
GNU Emacs Manual, chapter "Editing Programs", section "Tag Tables".
Erlang mode V2.0 for Emacs.
AUTHOR
Anders Lindgren
Ericsson Software Technology 1996-05-30 TAGS(3erl)