Hi,
I am trying to organize my data files and I would like to know how to cat files with path. Note that the correct command may not be "cat" though.
For example, I have:
abc/data/1/title
dca/data/2/title
gpd/data/1/title
....
I'd like to have a file listing the title info from different directories, as well as directory paths.
Hi,
I need to write a shell script that should lists only the files that starts with alphabet from the /proc dir and then I have to cat those files and redirect to a file.
But my below script is not working. It is reading the first file properly but not the subsequent files. Please throw a... (2 Replies)
hi all,
I need to find out the last 2 modified files in a folder.There is some way by which,we can check the timestamp and find out..??please help this is urgent.
Thanks in Advance
Anju (3 Replies)
Hi all,
I have a number of shell script,perl script.. etc in a directory,which i need to execute in some order.Now i need to create a script to call all these files in that order..so that the new script will execute all the files one by one....plz help this is urgent.
Thanks In advance
Anju (3 Replies)
Hi,
I was a typical Windows guy. Like to do things just by clicking my mouse:cool:. I got a new job now...where they are big on unix.
I am trying to wet my fingures now with unix. Haven't taken the dive yet.
I am trying to find a solution for this problem.
Please help me with some... (4 Replies)
Hi all,
I have a directory with many subdirectories each named like so: KOG0001, KOG0002, ...KOG9999.
Each of these subdirectories contain a variable number two kinds of files (nuc and prot) named like so: Capitella_sp_nuc_hits.fasta (nuc) and Capitella_sp_prot_hits.fasta (prot). The... (2 Replies)
Hello,
I am PhD student (Biomedical sciences) and very new to Linux. I need some help with the following task :
I have files in the following format for their names :
An_A1_nnn_R1.txt; An_A1_nnm_R1.txt; An_A1_nnoo_R1.txt
An_A2_nnn_R1.txt; An_A2_nnm_R1.txt; An_A2_nno_R1.txt
... (8 Replies)
I am trying to cat 3 files. They all have the same name MFExtract.txt. But, they are in 3 seperate file names. Any idea how I could cat the 3 together. It's throwing me off figuring out a way because the names are the same. I was thinking just doing a 3 cat commands with the full path names and... (2 Replies)
Hi All,
Can you please provide some pointers to move files from Base path to multiple paths in efficient way.Folder Structure is already created.
/Path/AdminUser/User1/1111/Reports/aaa.txt to /Path/User1/1111/Reports/aaa.txt
/Path/AdminUser/User1/2222/Reports/bbb.txt to... (6 Replies)
Discussion started by: karthikgv417
6 Replies
LEARN ABOUT OSX
tk_choosedirectory
tk_chooseDirectory(n) Tk Built-In Commands tk_chooseDirectory(n)
__________________________________________________________________________________________________________________________________________________NAME
tk_chooseDirectory - pops up a dialog box for the user to select a directory.
SYNOPSIS
tk_chooseDirectory ?option value ...?
_________________________________________________________________DESCRIPTION
The procedure tk_chooseDirectory pops up a dialog box for the user to select a directory. The following option-value pairs are possible as
command line arguments:
-initialdir dirname
Specifies that the directories in directory should be displayed when the dialog pops up. If this parameter is not specified, then
the directories in the current working directory are displayed. If the parameter specifies a relative path, the return value will
convert the relative path to an absolute path.
-mustexist boolean
Specifies whether the user may specify non-existent directories. If this parameter is true, then the user may only select directo-
ries that already exist. The default value is false.
-parent window
Makes window the logical parent of the dialog. The dialog is displayed on top of its parent window. On Mac OS X, this turns the file
dialog into a sheet attached to the parent window.
-title titleString
Specifies a string to display as the title of the dialog box. If this option is not specified, then a default title will be dis-
played.
EXAMPLE
set dir [tk_chooseDirectory
-initialdir ~ -title "Choose a directory"]
if {$dir eq ""} {
label .l -text "No directory selected"
} else {
label .l -text "Selected $dir"
}
SEE ALSO
tk_getOpenFile(n), tk_getSaveFile(n)
KEYWORDS
directory, selection, dialog, platform-specific
Tk 8.3 tk_chooseDirectory(n)