I am kiran. I created GUI by using Gtk2-Perl. In that GUI I was running 3 shell scripts by using system command and also passing arguments to the shell scripts from GUI script.
In that arguments I can get the path like /home/kiran/pdk/sample/calibre (this is the output of shell script1) but in calibre folder have the files like .results and .summary.
I have the path upto calibre only but after exection inside this calibre getting path like calibre/memory/metal/cell/cell.results and cell.summary
Here what my doubt is how to read remaining path after calibre. Because I have to find size of a files like .results and .summary
Then only I can get script has been completed r not.
after that I can do
This should be do in Gtk2-Perl script itself.
So please tel me the way or code
Thanks&Regards
kiran
Moderator's Comments:
please use code tags for your code and data next time, thanks
Hi,
Can somebody PLEASE help me.
Suppose I want to find a file which has largest no of bytes in a particular directory, How do i do that.
ls -s will give the size of Blocks.
But I want the largest sized file and in bytes or KB OR MB.
tHANKS IN advanvce.
Bye
Rooh
:( (1 Reply)
The FTP perl module does not have any function which checks if the file downloaded is of size 0. Is there any way in perl to check while getting the files through FTP?
Sometimes, there might be a problem with FTP and the downloaded file maybe of size 0. Hence, I would like to FTP that file... (1 Reply)
hi all,
in my server there are some specific application files which are spread through out the server... these are spread in folders..sub-folders..chid folders...
please help me, how can i find the total size of these specific files in the server... (3 Replies)
My Question is
-----------------
Assume you've a directory (i.e /home/test/) which contains n number of files,
rename all the files which has byte count more than zero (0) with .bak extension.
Write shell script to achieve this output,
execute the same without using". / " in front of... (6 Replies)
Hi in my shell script I have to do this
1. there is a file called testing.txt in /home/report directory
If the file size is 0(zero) and date is today's date, then I have to print
"Successful" else "Failed".
2. There is a file called number.txt which will have text only one line like this... (10 Replies)
Hi,
I have to directory
/usr/inbound
-------------
10900.txt
10889.txt
109290202.txt
I need to create inbound directory
and i need to know size of these files one by one
if file size is zero i need to print message like "empty file"
Please help me how to solve this
thanks
krish. (4 Replies)
I have a directory, /local/test/
under this directory is many subdirectories, each subdir has about 70 files, the 70 files are always the same names. I want to print to the screen the size of fileabc.txt in each of the subdirectories. I cannot seem to work with pipe and splats * because there are... (3 Replies)
Hi All...
is the below command be modified in sucha way that i can get the file size along with the name and path of the file
the below command only gives me the file location which are more than 100000k...but I want the exact size of the file also..
find / -name "*.*" -size +100000k
... (3 Replies)
Is there a way to use the find command to recursively scan directories for files greater than 1Gb in size and print out the directory path and file name only?
Thanks in advance. (6 Replies)
Discussion started by: jimbojames
6 Replies
LEARN ABOUT DEBIAN
gtk2::toolshell
Gtk2::ToolShell(3pm) User Contributed Perl Documentation Gtk2::ToolShell(3pm)NAME
Gtk2::ToolShell - wrapper for GtkToolShell
HIERARCHY
Glib::Interface
+----Gtk2::ToolShell
METHODS
ellipsizemode = $shell->get_ellipsize_mode
Since: gtk+ 2.20
iconsize = $shell->get_icon_size
orientation = $shell->get_orientation
$shell->rebuild_menu
reliefstyle = $shell->get_relief_style
toolbarstyle = $shell->get_style
double = $shell->get_text_alignment
Since: gtk+ 2.20
orientation = $shell->get_text_orientation
Since: gtk+ 2.20
sizegroup or undef = $shell->get_text_size_group
Since: gtk+ 2.20
ENUMS AND FLAGS
enum Gtk2::IconSize
o 'invalid' / 'GTK_ICON_SIZE_INVALID'
o 'menu' / 'GTK_ICON_SIZE_MENU'
o 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
o 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
o 'button' / 'GTK_ICON_SIZE_BUTTON'
o 'dnd' / 'GTK_ICON_SIZE_DND'
o 'dialog' / 'GTK_ICON_SIZE_DIALOG'
enum Gtk2::Orientation
o 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
o 'vertical' / 'GTK_ORIENTATION_VERTICAL'
enum Gtk2::ReliefStyle
o 'normal' / 'GTK_RELIEF_NORMAL'
o 'half' / 'GTK_RELIEF_HALF'
o 'none' / 'GTK_RELIEF_NONE'
enum Gtk2::ToolbarStyle
o 'icons' / 'GTK_TOOLBAR_ICONS'
o 'text' / 'GTK_TOOLBAR_TEXT'
o 'both' / 'GTK_TOOLBAR_BOTH'
o 'both-horiz' / 'GTK_TOOLBAR_BOTH_HORIZ'
enum Pango::EllipsizeMode
o 'none' / 'PANGO_ELLIPSIZE_NONE'
o 'start' / 'PANGO_ELLIPSIZE_START'
o 'middle' / 'PANGO_ELLIPSIZE_MIDDLE'
o 'end' / 'PANGO_ELLIPSIZE_END'
SEE ALSO
Gtk2, Glib::Interface
COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.14.2 2012-05-27 Gtk2::ToolShell(3pm)