![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| coping directories? | JamieMurry | UNIX for Dummies Questions & Answers | 2 | 04-09-2009 03:50 AM |
| cp not coping properly | prashants | Shell Programming and Scripting | 1 | 11-19-2008 05:15 AM |
| pass curls progress/status data to a file | scarfake | Shell Programming and Scripting | 0 | 05-31-2008 05:23 PM |
| Help analysing progress of a log file | cosmos328is | UNIX for Dummies Questions & Answers | 4 | 10-11-2007 07:18 AM |
| knowing progress while reading a file | sakthi.abdullah | UNIX for Advanced & Expert Users | 2 | 12-21-2006 11:03 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
zenity --progress ? here a thread about using it in copying files. what you have to do is to get the fullsize of the file and the size of what has already has beeen copied and then : Code:
Fullsize=$(stat -c %s $file1)
(
CopiedBytes=$(stat -c %s $file2)
let Percentage=CopiedBytes*100/Fullsize
echo $Percentage
sleep 1
) | zenity --progress --title="Copying files" --text="Copying $file1 to $file2" --percentage=0 --autoclose
Not tested but should work |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|