01-23-2010
If all these files are being dropped into a single directory, how often do you delete and recreate the directory itself? There must be some file naming convention used to prevent duplicates, can it not be used in such way that listing by file name will also be chronological?
Jack
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello all,
iam new to shell scripting.I have searched the forum and could'nd find a close enough answer and hence this post:
I want to list all the file names whose names don't start as abc.
For example if my folder constains files with names: abc123.txt,erdf23.rdf,ed45r.fmb
i want a... (13 Replies)
Discussion started by: valluvan
13 Replies
2. UNIX for Dummies Questions & Answers
This is what I have to do:
Display the full file name (including the full path) and file size of all files whose name (excluding the path) is exactly 3 characters long.
This is the code I have:
find / -printf "Name: %f Path: %h Size: %s (bytes)\n" 2>/dev/null | grep -E "Name: .{3,} Path" |... (7 Replies)
Discussion started by: Joesgrrrl
7 Replies
3. Shell Programming and Scripting
Sun Solaris Unix Question
Haven't been able to find any solution for this situation. Let's just say the file names listed below exist in a directory. I want the find command to find all files in this directory but at the same time I want to eliminate certain file names or files with certain... (2 Replies)
Discussion started by: 2reperry
2 Replies
4. UNIX for Advanced & Expert Users
Hello,
When listing the file systems (using ls -ltr) , if the group names are longer the group name is getting truncated.
Can someone help with the script which would display the truncated group name?
I appreciate if someone could help in this regard. (1 Reply)
Discussion started by: mike12
1 Replies
5. Shell Programming and Scripting
Hi,
I'm trying to use a config file to define frequencies for checking log files. If the config file contains a frequency it will be used else a default value. The format of the config file (and hence the environment variable) is
FREQ_log_logname=value
A test shell script as below:... (2 Replies)
Discussion started by: u671296
2 Replies
6. Shell Programming and Scripting
Hi,
I want to display latest files (created or modified) recursively in a path.
I tried in different ways, but didn't get any desired output:
find $path -type f -exec ls -lt {} \; | sort -n -r
find $path -type f -printf %p";" | xargs -d ";" ls -t
Second one is giving the error:... (21 Replies)
Discussion started by: karumudi7
21 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Could you please help to resolve my following issues:
Problem Description:
Suppose my user name is "MI90".
i.e. $USER = MI90
when i run below command, i get all the processes running on the system containing name MQ.
ps -ef | grep MQ
But sometimes it lists... (8 Replies)
Discussion started by: KDMishra
8 Replies
8. Shell Programming and Scripting
Hi,
I want to display the file names and the record count for the files in the 2nd column for the files created today.
i have written the below command which is listing the file names. but while piping the above command to the wc -l command
its not working for me.
ls -l... (5 Replies)
Discussion started by: Showdown
5 Replies
9. Shell Programming and Scripting
Data files coming in different names in a file name called process.txt.
1. shipments_yyyymmdd.gz
2 Order_yyyymmdd.gz
3. Invoice_yyyymmdd.gz
4. globalorder_yyyymmdd.gz
The process needs to discard all the below files and only process two of the 4 file names available
... (1 Reply)
Discussion started by: dsravanam
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have a .csv file that has ~600 columns and thousands of rows. I would like to create a numerical list of the column names (so that I can later easily select the columns I want to extract). The format that I would hope for is something like:
1 "ID"
2 "X"
3 "Y"
..
600 "Z"
... (4 Replies)
Discussion started by: aberg
4 Replies
LEARN ABOUT CENTOS
xtcreatepopupshell
XtCreatePopupShell(3) XT FUNCTIONS XtCreatePopupShell(3)
NAME
XtCreatePopupShell, XtVaCreatePopupShell - create a popup shell
SYNTAX
Widget XtCreatePopupShell(String name, WidgetClass widget_class, Widget parent, ArgList args, Cardinal num_args);
Widget XtVaCreatePopupShell(String name, WidgetClass widget_class, Widget parent, ...);
ARGUMENTS
args Specifies the argument list to override the resource defaults.
name Specifies the text name for the created shell widget.
num_args Specifies the number of arguments in the argument list.
parent Specifies the parent widget.
widget_class
Specifies the widget class pointer for the created shell widget.
... Specifies the variable argument list to override the resource defaults.
DESCRIPTION
The XtCreatePopupShell function ensures that the specified class is a subclass of Shell and, rather than using insert_child to attach the
widget to the parent's children list, attaches the shell to the parent's pop-ups list directly.
A spring-loaded pop-up invoked from a translation table already must exist at the time that the translation is invoked, so the translation
manager can find the shell by name. Pop-ups invoked in other ways can be created ``on-the-fly'' when the pop-up actually is needed. This
delayed creation of the shell is particularly useful when you pop up an unspecified number of pop-ups. You can look to see if an appropri-
ate unused shell (that is, not currently popped up) exists and create a new shell if needed.
SEE ALSO
XtCreateWidget(3), XtPopdown(3), XtPopup(3)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.4 XtCreatePopupShell(3)