11-18-2010
It supposes the same Hardware as well ...
10 More Discussions You Might Find Interesting
1. Solaris
I am doing a scp (directory)from one solaris box to another.The problem is that all links present in that directory also get copied .I do not want the links to get copied .currently I am using
following syntax
scp -rvp pcserver info@appudemo.sea.us.wam.net:/home/info
I checked the man... (1 Reply)
Discussion started by: u449064
1 Replies
2. UNIX for Dummies Questions & Answers
I am able to run the UNIX commands in a Windows box from a UNIX box through "SSH" functionality. But whenever the SSH connection is established between UNIX and Windows, password for windows box is being asked.
Is there a way to avoid asking password whenever the SSH connection is made? Can I... (1 Reply)
Discussion started by: D.kalpana
1 Replies
3. Shell Programming and Scripting
Hi
our unix admin has copied all files from one unix box to new unix box. We just need to confirm that all the file systems are copied properly. How to validate. (9 Replies)
Discussion started by: sravanreddym
9 Replies
4. Shell Programming and Scripting
Hello all !
I'm trying to write a shell script (bash) to ftp a file starting with particular name like "Latest_" that is present on a Windows box to UNIX server. Basically I want to set this script in the cron so that daily the new build that is posted on the Windows box can be downloaded to the... (2 Replies)
Discussion started by: vijayb4u83
2 Replies
5. HP-UX
Need a clarification .... While copying files from one unix to another unix box .
I am working on two / three unix boxes which are all in a network.. in which home directory are mounted ..(I didn't understand what is the exact meaniing of that)
So can i copy the files from one box to another... (2 Replies)
Discussion started by: girija
2 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am just wondering is it possible to move or copy a file from a UNIX server to a different location e.g. the C drive on a computer?
I have used the cp command to move files to different locations on unix servers but it would be handy to move a file to my C drive.
I am currently... (3 Replies)
Discussion started by: crunchie
3 Replies
7. UNIX for Dummies Questions & Answers
hi, guys,
now I face a problem. I have developed an application, and when it starts, it shall check if an application has been installed on the running linux/unix. If result is positive, i do something with the application command.
just as an example: I want to check if sshd has been... (3 Replies)
Discussion started by: sk1418
3 Replies
8. Shell Programming and Scripting
Hi,
Please help me with script that does the following:
i)The script will be called from server path:- /apps/di/dev/scripts
ii)The script will copy all the files starting from SPCA_ALL_CPC*.csv from another server and move to /apps/di/dev/import/regrind_SPCA_new
Many thanks (1 Reply)
Discussion started by: Alok Ranjan
1 Replies
9. How to Post in the The UNIX and Linux Forums
Hello my dear friends,
Two file are auto generated from mon - fri at different directories on same windows box.Every day i have to copy the file, rename it (specific name)and ftp it to linux box specified directory.
is it possible to automate this process,If yes this has to be done from windows... (1 Reply)
Discussion started by: umesh yadav
1 Replies
10. UNIX for Beginners Questions & Answers
Hi Folks ,
I have two different unix boxes named lonrs2345 and lonrs2367 now i want to copy a file from lonrs2345 to lonrs2367 , now below is the location of file which i want to copy
lonrs2345 :- /opt/app/fgty/abc.xml
lonrs2367 :- /opt/app/fgty/
Now as you can see above i want to... (2 Replies)
Discussion started by: n4noida
2 Replies
LEARN ABOUT SUSE
tk::choosedirectory
chooseDirectory(3) User Contributed Perl Documentation chooseDirectory(3)
NAME
chooseDirectory - pops up a dialog box for the user to select a directory.
SYNOPSIS
$widget->chooseDirectory( ?option value ...? );
DESCRIPTION
The method chooseDirectory is implemented as a perl wrapper on the core tk "command" tk_chooseDirectory, and $widget is passed as the
argument to the hidden -parent option.
The chooseDirectory method 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. This option may not always work on the Macintosh. This is not a bug. Rather, the General
Controls control panel on the Mac allows the end user to override the application default directory.
-parent $widget
Makes $widget the logical parent of the dialog. The dialog is displayed on top of its 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 displayed.
-mustexist boolean
Specifies whether the user may specify non-existant directories. If this parameter is true, then the user may only select directories
that already exist. The default value is false.
CAVEATS
Perl does not have a concept of encoded filesystems yet. This means that operations on filenames like "opendir" and "open" still use byte
semantics. Tk however uses character semantics internally, which means that you can get filenames with the UTF-8 flag set in functions like
"chooseDirectory", "getOpenFile" and similar. It's the user's responsibility to determine the encoding of the underlying filesystem and
convert the result into bytes, e.g.
use Encode;
...
my $dir = $mw->chooseDirectory;
$dir = encode("windows-1252", $dir);
opendir DIR, $dir or die $!;
...
See also "When Unicode Does Not Happen" in perlunicode and "Unicode in Filenames" in perltodo.
SEE ALSO
Tk::getOpenFile, Tk::getOpenFile
KEYWORDS
directory selection dialog
perl v5.12.1 2007-11-08 chooseDirectory(3)