Copy Fast - Right click option

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#31 Post by rufwoof »

With older eyes - larger fonts/dpi (see attached)

And if I try to maximise, it just jumps to another screen location

Otherwise nice.
Attachments
cf.png
(13.07 KiB) Downloaded 731 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#32 Post by don570 »

I'll look into the problem. Which distro do you use?
_____________________________________________

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#33 Post by Puppus Dogfellow »

can this be modified to copy multiple files/folders at once?

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#34 Post by Flash »

Can you give us an example of what you mean? Copy Fast works perfectly to copy folders that contain hundreds of mp3 files. It uses rsync, the only file handling program I know of that copies the files in strict numerical order (or I suppose alpha-numerical, though my files are never ordered that way).

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#35 Post by Puppus Dogfellow »

can this be modified to copy multiple files/folders at once?
Flash wrote:Can you give us an example of what you mean? Copy Fast works perfectly to copy folders that contain hundreds of mp3 files. It uses rsync, the only file handling program I know of that copies the files in strict numerical order (or I suppose alpha-numerical, though my files are never ordered that way).
if you select more than one file in a given directory, or more than one folder, you no longer are given this program as an option on the right click menu.

it does copy a file or a folder no problem. the more i use it, the more convenient it becomes, especially as the locations list gets populated. it's a great program, but i often wish to copy only select items in a given directory, not the whole thing. and there are times when i want to copy more than one directory to another location....

does this feature exist and i just can't figure out how to access it? assuming the folder's not empty, copying a folder is copying many files, true, but i don't normally think of copying a document as copying multiple words or lines of text. sorry for being vague.

:?

(and regardless, thanks for this one as well, don570.)

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#36 Post by don570 »

SFR has already written a program (Multicopypaste) that
copies multiple files in Rox filer. It's probably too complex for me
to put inside copy fast.

http://murga-linux.com/puppy/viewtopic.php?t=77003

________________________________________________

User avatar
Puppus Dogfellow
Posts: 1667
Joined: Tue 08 Jan 2013, 01:39
Location: nyc

#37 Post by Puppus Dogfellow »

don570 wrote:SFR has already written a program (Multicopypaste) that
copies multiple files in Rox filer. It's probably too complex for me
to put inside copy fast.

http://murga-linux.com/puppy/viewtopic.php?t=77003

________________________________________________
SFR wrote:Hey guys

I completely forgot about this app (TBH, I'm not using it anymore - drag'n'drop turned out to be faster for me, in the end :wink: ).
i gave it a try, perhaps not enough of one, long enough ago that i don't remember much about it other than i came to the same conclusion as SFR himself regarding it. doesn't mean it's not worth another look, though.

:)

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#38 Post by MochiMoppel »

don570 wrote:SFR has already written a program (Multicopypaste) that
copies multiple files in Rox filer. It's probably too complex for me
to put inside copy fast.
I see the lack of support for multiple file/folder copies as a big limitation for CopyFast. Looking at your code I assume that the limitation to 1 file/folder support was a deliberate choice and that there were reasons for it.

I have no intention to discuss the pros and cons of CopyFast here since I can't use it (installation doesn't work for me) and certainly would have no use for it even if the installation would succeed, but for a fast and easy multicopy solution, whould this be an alternative? With a few additional tweaks one could create a "Copy Fast" subdirectory in the Shift+Rightclick menu (="Open With ..."), containing a list of destination folders. The beauty of this solution would be that almost no code is needed. :wink:

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#39 Post by nic007 »

I use SFR's Multicopypaste but there is a limitation too. Files can not be copied to the root of a partition, has to be to a folder (in other words you can't copy to sda1 for example needs to be sda1/downloads or whatever). If that can be sorted, it will work perfectly. I find this application very useful.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#40 Post by MochiMoppel »

nic007 wrote:Files can not be copied to the root of a partition, has to be to a folder (in other words you can't copy to sda1 for example needs to be sda1/downloads or whatever). If that can be sorted, it will work perfectly.
/mnt/sda1 is a folder and you can copy to it. If you need to copy to the very bottom of your filesystem ("/") and you need this often (really hard to believe!), you could create a symlink to it and then copy to the symlink:

Code: Select all

ln -s / /HERE
You can't change this limitation of SFR's application without changing the whole application.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#41 Post by Flash »

Pardon my stupid question, but why not just highlight the files you want to copy, then drag them to the folder where you want them? This works well in ROX, except the transfer is not always done in the alphanumerical order of the file names, which causes problems with mp3 players, but nowhere else that I'm aware of.

The visual drag-and-drop method has the advantage of reducing the likelihood of mistakes caused by fat fingered typing, at least for me.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#42 Post by MochiMoppel »

Flash wrote:Pardon my stupid question, but why not just highlight the files you want to copy, then drag them to the folder where you want them?
Actually a good question, which keeps me wondering why you use a tool like CopyFast? Or is your copy order problem the only reason to use it? I've seen you mentioning this problems a couple of times, but I was never able to reproduce it. I use a mp3 player myself which insists on playing tracks in the copy order, not alphabetical order (the company regarded this as a bug and offered a patch, which I will never ever install since the copy order makes so much more sense), but I had never problems to copy in the order I choose. Maybe you can revive your still unsolved ancient post and give a reproducable example.
The visual drag-and-drop method has the advantage of reducing the likelihood of mistakes caused by fat fingered typing
Typing? Where do you see typing involved in any of the other methods?

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#43 Post by nic007 »

MochiMoppel wrote:
nic007 wrote:Files can not be copied to the root of a partition, has to be to a folder (in other words you can't copy to sda1 for example needs to be sda1/downloads or whatever). If that can be sorted, it will work perfectly.
/mnt/sda1 is a folder and you can copy to it. If you need to copy to the very bottom of your filesystem ("/") and you need this often (really hard to believe!), you could create a symlink to it and then copy to the symlink:

Code: Select all

ln -s / /HERE
You can't change this limitation of SFR's application without changing the whole application.
Really, I thought it was a partition like sda5? Anyhow, you can't copy to the root directory of /mnt/home (frugal install with save file) or /initrd/mnt/dev_ro2 or sda5 or the root directory of any other partition for that matter with SFS's application. And yes, I do actually copy to the root directory of a partition often (not hard to believe at all).

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#44 Post by MochiMoppel »

nic007 wrote:Anyhow, you can't copy to the root directory of /mnt/home
I can
I do actually copy to the root directory of a partition often (not hard to believe at all).
I didn't say root directory of a partiton, I said root directory of the whole filesystem ("/").

User avatar
nic007
Posts: 3408
Joined: Sun 13 Nov 2011, 12:31
Location: Cradle of Humankind

#45 Post by nic007 »

MochiMoppel wrote:
nic007 wrote:Anyhow, you can't copy to the root directory of /mnt/home
I can
I do actually copy to the root directory of a partition often (not hard to believe at all).
I didn't say root directory of a partiton, I said root directory of the whole filesystem ("/").
Well, I mean the root of a partition, you can't with SFR's application. / (top filesystem), /root or root of any partition = can't copy to with SFR's application. You seem to selectively quote parts without comprehending the full paragraph (that's dangerous and could lead to all sorts of wrong answers) Why do you reckon sda1 or sda5 are folders and not partitions? Strange

User avatar
neerajkolte
Posts: 516
Joined: Mon 10 Feb 2014, 07:05
Location: Pune, India.

#46 Post by neerajkolte »

nic007 wrote:Why do you reckon sda1 or sda5 are folders and not partitions? Strange
I think he just meant Everything is a file on Linux.
I don't know why SFR's app doesn't copy to root of partition. I haven't used it.
But logic says, once mounted a partition is just another folder.
Hope I am right (I am still learning Linux).

Thanks.

- Neeraj.
"One of my most productive days was throwing away 1000 lines of code."
- Ken Thompson

“We tend to overestimate the effect of a technology in the short run and underestimate the effect in the long run.â€￾
- Amara’s Law.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#47 Post by SFR »

Ok, I feel obliged to sort things out.
MochiMoppel is right - with MultiCopyPaste you can paste stuff into the root of any partition.
The only inaccessible place if the root of the entire filesystem (/).

An example:
nic007 wrote:Anyhow, you can't copy to the root directory of /mnt/home
Let's say you have ROX-Filer's window already opened in /mnt/home.
Now simply click the up arrow, which will bring you to the parent (/mnt) directory.
At this point you can right-click home symlink and choose "Multi-Paste" action.
The same goes to other partitions like sda1, sdc5 etc.

To recap: if you need to copy something into the directory where you currently in, just move one level up (up arrow) and right-click that directory.

Hope it's clearer now...

PS. @Don: sorry for kinda hijacking your thread.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#48 Post by Flash »

MochiMoppel wrote:
Flash wrote:Pardon my stupid question, but why not just highlight the files you want to copy, then drag them to the folder where you want them?
Actually a good question, which keeps me wondering why you use a tool like CopyFast? Or is your copy order problem the only reason to use it?
Actually, yes. Drag-and-drop in ROX works fine for everything else. Sorry it took so long to reply. I was busy. :oops:
I've seen you mentioning this problems a couple of times, but I was never able to reproduce it. I use a mp3 player myself which insists on playing tracks in the copy order, not alphabetical order (the company regarded this as a bug and offered a patch, which I will never ever install since the copy order makes so much more sense), but I had never problems to copy in the order I choose.
Well there you go then, you know what I mean. However I don't understand what you meant by that last sentence. How do you choose the copy order?
Maybe you can revive your still unsolved ancient post and give a reproducible example.
Thanks for reminding me about that thread. :)
If you have an mp3 player that plays files in the order they were loaded, then all you have to do is find a folder that contains a large number of mp3 files numbered in sequential order (at least a hundred I would guess, though I've never tried to find the fewest number that will cause the problem) and drag it into the mp3 player, in ROX. Pay close attention to the order in which ROX transfers the files and you will probably see that it does not follow their number sequence from first to last.
The visual drag-and-drop method has the advantage of reducing the likelihood of mistakes caused by fat fingered typing
Typing? Where do you see typing involved in any of the other methods?
Using a command-line program, I have to type in paths, directory names, etc. Also, if those directory names contain spaces, I have to remember to deal with that. It's slow, tedious work and I often make mistakes. Point-and-click or drag-and-drop, where feasible, is way more accurate for me.

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#49 Post by MochiMoppel »

Flash wrote: I don't understand what you meant by that last sentence. How do you choose the copy order?
For normal files this should be obvious: I copy them in the order I require. If the ROX sort order is what I need, I select all and copy them over, if not, then I have to copy one by one. But I assume that you refer to folders. To make sure that the folder and its content is copied in a specific order, I have to make sure the files were written to the folder in the desired order.
If you have an mp3 player that plays files in the order they were loaded, then all you have to do is find a folder that contains a large number of mp3 files numbered in sequential order (at least a hundred I would guess, though I've never tried to find the fewest number that will cause the problem) and drag it into the mp3 player, in ROX. Pay close attention to the order in which ROX transfers the files and you will probably see that it does not follow their number sequence from first to last.
This I can't confirm. The important information in your explanation is missing: How were the files ordered in the source folder? You can find out with ls -fl <folderpath> command. This gives you the order of files on the disk. I have tested with 250 files. Copied the folders around in Puppy, copied them to a FAT partion, copied between FAT partions...Result: The file order in the folder never changed. Input = output. No mix-up after 100 files or similar spooky things.

When you copy a folder which contains files with sequential names, you can't expect that the copy program copies the content of the folder in alphabetical order. In fact the program doesn't care about names, dates or any other metadata of the files, it simply copies in the order it find the files on disk. For copying in alphabetical order it would have to run a pre-check and only then start the copy process - this is what rsync is doing. Unfortunately I must say, because my mp3 files are named <artist>-<title> and tracks within albums are sorted by file creation date and were originally copied to the folder in this order. The last thing I want is a copy tool like rsync to change this order.

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#50 Post by Flash »

MochiMoppel wrote:...When you copy a folder which contains files with sequential names, you can't expect that the copy program copies the content of the folder in alphabetical order...
Why yes, I can. In fact, I expect ROX's copy program to copy files in the order that ROX displays the files. For ROX to copy them in any other order when I drag and drop them is unexpected behavior.
...In fact the program doesn't care about names, dates or any other metadata of the files, it simply copies in the order it find the files on disk...
Maybe my problem is caused by the fact that I'm not copying from a hard disk, but from a USB flash drive. I don't even have a hard disk drive in my computer. Who knows what the controller in a USB flash drive does with the files it's recording. :lol:
...For copying in alphabetical order it would have to run a pre-check and only then start the copy process - this is what rsync is doing...
Then that must be what I inadvertently did by clicking ROX's first column order, as I believe I described in the first post in the old thread you mentioned.

Post Reply