Copy Fast - Right click option
- Puppus Dogfellow
- Posts: 1667
- Joined: Tue 08 Jan 2013, 01:39
- Location: nyc
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).
- Puppus Dogfellow
- Posts: 1667
- Joined: Tue 08 Jan 2013, 01:39
- Location: nyc
can this be modified to copy multiple files/folders at once?
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.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).
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.)
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
________________________________________________
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
________________________________________________
- Puppus Dogfellow
- Posts: 1667
- Joined: Tue 08 Jan 2013, 01:39
- Location: nyc
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
________________________________________________
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.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 ).
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
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.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 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.
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.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
/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: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.
Code: Select all
ln -s / /HERE
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.
The visual drag-and-drop method has the advantage of reducing the likelihood of mistakes caused by fat fingered typing, at least for me.
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
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.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?
Typing? Where do you see typing involved in any of the other methods?The visual drag-and-drop method has the advantage of reducing the likelihood of mistakes caused by fat fingered typing
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).MochiMoppel wrote:/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: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.You can't change this limitation of SFR's application without changing the whole application.Code: Select all
ln -s / /HERE
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
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? StrangeMochiMoppel wrote:I cannic007 wrote:Anyhow, you can't copy to the root directory of /mnt/homeI didn't say root directory of a partiton, I said root directory of the whole filesystem ("/").I do actually copy to the root directory of a partition often (not hard to believe at all).
- neerajkolte
- Posts: 516
- Joined: Mon 10 Feb 2014, 07:05
- Location: Pune, India.
I think he just meant Everything is a file on Linux.nic007 wrote:Why do you reckon sda1 or sda5 are folders and not partitions? Strange
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.
- 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.
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:
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!
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:
Let's say you have ROX-Filer's window already opened in /mnt/home.nic007 wrote:Anyhow, you can't copy to the root directory of /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]
[b][color=green]Omnia mea mecum porto.[/color][/b]
Actually, yes. Drag-and-drop in ROX works fine for everything else. Sorry it took so long to reply. I was busy.MochiMoppel wrote: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?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?
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?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.
Thanks for reminding me about that thread.Maybe you can revive your still unsolved ancient post and give a reproducible example.
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.
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.Typing? Where do you see typing involved in any of the other methods?The visual drag-and-drop method has the advantage of reducing the likelihood of mistakes caused by fat fingered typing
- MochiMoppel
- Posts: 2084
- Joined: Wed 26 Jan 2011, 09:06
- Location: Japan
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.Flash wrote: I don't understand what you meant by that last sentence. How do you choose the copy order?
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.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.
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.
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.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...
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....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...
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....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...