Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 23 Apr 2019, 10:42
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
rox with transmision bar ??
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 3 [41 Posts]   Goto page: Previous 1, 2, 3
Author Message
Argolance


Joined: 06 Jan 2008
Posts: 3615
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 14 Mar 2019, 07:11    Post subject:  

Bonjour,
Version 1.4 works great!
Thank you a lot.

A quick question: the progress bar appears when you copy large file(s). Now, what about copying a huge directory containing many small files? Isn't it precisely in this kind of situation (it can take time, especially when the destination is an external drive), that a global progress bar would be really welcome?

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
fabrice_035


Joined: 28 Apr 2014
Posts: 620
Location: Bretagne / France

PostPosted: Thu 14 Mar 2019, 07:59    Post subject:  

Hi,

Thanks again Mister Argolance, good teamwork Very Happy

I don't know why ROX-Filer show progressbar when we choose multiple files and copy it but nothing when it is needed copying a huge directory .

The only way to improve this is to work on the ROX-Filer source code i think.

Regard

_________________
xenialpup 7.5 / Linux Kernel: 4.4.95 / Window Manager: JWM v2.3.7
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1824
Location: Japan

PostPosted: Thu 14 Mar 2019, 08:26    Post subject:  

fabrice_035 wrote:
I don't know why ROX-Filer show progressbar when we choose multiple files and copy it but nothing when it is needed copying a huge directory
Because progressbar shows the no. of finished copies. When you copy 2 large files ROX-Filer will show an empty progressbar while the copy of the first file is in progress. After finishing the first file the progressbar immediately shows 50%.

I hope this explains why you don't see anything when you copy only a single file, no matter if it's big or small. ROX-Filer doesn't even bother to add a progressbar as a progressbar would jump from empty to 100%, followed by an immediate closure of the dialog.

Last edited by MochiMoppel on Thu 14 Mar 2019, 08:35; edited 1 time in total
Back to top
View user's profile Send private message 
fabrice_035


Joined: 28 Apr 2014
Posts: 620
Location: Bretagne / France

PostPosted: Thu 14 Mar 2019, 08:31    Post subject:  

MochiMoppel wrote:
fabrice_035 wrote:
I don't know why ROX-Filer show progressbar when we choose multiple files and copy it but nothing when it is needed copying a huge directory
Because progressbar shows the no. of finished copies. When you copy 2 large files ROX-Filer will show an empty progressbar while the copy of the first file is in progress. After finishing the first file the progressbar immediately shows 50%.

I hope this explains why you don't see anything when you copy only 1 file, no matter if it's big or small.


The problem raised concerns the difference between copying multiple files and copying a folder that contains multiple files.
*In the first case : show progress bar
*second case : no progress bar visible

_________________
xenialpup 7.5 / Linux Kernel: 4.4.95 / Window Manager: JWM v2.3.7
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1824
Location: Japan

PostPosted: Thu 14 Mar 2019, 08:51    Post subject:  

fabrice_035 wrote:
*second case : no progress bar visible
Technically a folder is also a file. If in my example the first huge file would be a folder containing multiple files, you would see 50% progress after the folder was copied. ROX thinks of items to copy, and in this case 2 items. Doesn't matter if the items are regular files, links or folders. In order to show progress of the files contained in the folder. ROX would have to analyze folder content before starting with the copy process. No idea why this isn't done. To keep it simple? Laughing
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3615
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Thu 14 Mar 2019, 09:12    Post subject:  

Hello,
By quickly rereading the messages of this thread from the beginning, It seems that fabrice_035's work responds to this Arrow Semme's suggestion.
Moreover, Semme proposed a small (internationalized at least in French) "MiniCopier" program which is far from being without interest: it is indeed exactly what Rox should naturally do...

[EDIT]: Link to Arrow minicopier-0.5_all.pet package with menu desktop file and icon (java environment required).

Cordialement.
190314_142334_470x400_easyshot.jpg
 Description   
 Filesize   51.7 KB
 Viewed   216 Time(s)

190314_142334_470x400_easyshot.jpg


_________________

Back to top
View user's profile Send private message Visit poster's website 
Argolance


Joined: 06 Jan 2008
Posts: 3615
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 16 Mar 2019, 07:44    Post subject:  

Bonjour,
I thought this might be helpful:
Arrow How to show the transfer progress and speed when copying files with cp?
And especially this:
Quote:
progress - Coreutils Progress Viewer Build Status
What is it?
This tool can be described as a Tiny, Dirty, Linux-and-OSX-Only C command that looks for coreutils basic commands (cp, mv, dd, tar, gzip/gunzip, cat, etc.) currently running on your system and displays the percentage of copied data. It can also show estimated time and throughput, and provides a "top-like" mode (monitoring).

Code:
# ./progress --help
progress - Coreutils Viewer
---------------------
Shows progress on file manipulations (cp, mv, dd, ...)

Monitored commands (default):
cp mv dd tar cat rsync grep fgrep egrep cut sort md5sum sha1sum sha224sum sha256sum sha384sum sha512sum adb gzip gunzip bzip2 bunzip2 xz unxz lzma unlzma 7z 7za zcat bzcat lzcat split gpg

Usage: ./progress [-qdwmM] [-W secs] [-c command] [-p pid]
  -q --quiet                   hides all messages
  -d --debug                   shows all warning/error messages
  -w --wait                    estimate I/O throughput and ETA (slower display)
  -W --wait-delay secs         wait 'secs' seconds for I/O estimation (implies -w, default=1.0)
  -m --monitor                 loop while monitored processes are still running
  -M --monitor-continuously    like monitor but never stop (similar to watch ./progress)
  -a --additional-command cmd  add additional command to default command list
  -c --command cmd             monitor only this command name (ex: firefox)
  -p --pid id                  monitor only this process ID (ex: `pidof firefox`)
  -i --ignore-file file        do not report process if using file
  -o --open-mode {r|w}         report only files opened for read or write
  -v --version                 show program version and exit
  -h --help                    display this help and exit

Multiple options allowed for: -a -c -p -i. Use PROGRESS_ARGS for permanent arguments.

Code:
# watch progress -q

... See image below.

Arrow Source

Cordialement.
190316_134833_682x405_easyshot.png
 Description   
 Filesize   60.15 KB
 Viewed   189 Time(s)

190316_134833_682x405_easyshot.png

progress-0.14.pet
Description 
pet

 Download 
Filename  progress-0.14.pet 
Filesize  20.55 KB 
Downloaded  34 Time(s) 

_________________

Back to top
View user's profile Send private message Visit poster's website 
fabrice_035


Joined: 28 Apr 2014
Posts: 620
Location: Bretagne / France

PostPosted: Sat 16 Mar 2019, 13:41    Post subject:  

Excellent discovery Mister Argolance. I can imagine a graphical user interface to do justice to this very good program. you can do that ?
_________________
xenialpup 7.5 / Linux Kernel: 4.4.95 / Window Manager: JWM v2.3.7
Back to top
View user's profile Send private message 
Argolance


Joined: 06 Jan 2008
Posts: 3615
Location: PORT-BRILLET (Mayenne - France)

PostPosted: Sat 16 Mar 2019, 14:27    Post subject:  

Bonjour,
@fabrice_035
When reporting this little amazing program, I didn't think to make any GUI (though it may be interesting indeed to create a daemon working in the background), but rather that it could be used to solve the question asked in this thread (and some others?). If the cp progress report could be displayed directly inside the rox copy window, it would be great! Cool
There must be someone on this forum who knows how to do this, right? Rolling Eyes

Cordialement.

_________________

Back to top
View user's profile Send private message Visit poster's website 
fabrice_035


Joined: 28 Apr 2014
Posts: 620
Location: Bretagne / France

PostPosted: Sat 16 Mar 2019, 15:02    Post subject:  

Let's do as usual, wait for someone to do it. Cool
_________________
xenialpup 7.5 / Linux Kernel: 4.4.95 / Window Manager: JWM v2.3.7
Back to top
View user's profile Send private message 
Smithy


Joined: 12 Dec 2011
Posts: 1009

PostPosted: Sat 16 Mar 2019, 16:09    Post subject:  

Well I read in the news that woodenshoe has moved on to other projects, but you never know someone might pop up and do it, in the meantime there is always gatotray to tell you what is occuring Smile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 3 of 3 [41 Posts]   Goto page: Previous 1, 2, 3
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0915s ][ Queries: 13 (0.0136s) ][ GZIP on ]