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 Sep 2014, 16:42
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Copy Fast - Right click option
Post new topic   Reply to topic View previous topic :: View next topic
Page 4 of 4 [52 Posts]   Goto page: Previous 1, 2, 3, 4
Author Message
neerajkolte


Joined: 10 Feb 2014
Posts: 270
Location: Pune, India.

PostPosted: Fri 08 Aug 2014, 22:37    Post subject:  

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
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Sat 09 Aug 2014, 12:46    Post subject:  

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!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11072
Location: Arizona USA

PostPosted: Wed 13 Aug 2014, 11:14    Post subject:  

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. Embarassed

Quote:
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?

Quote:
Maybe you can revive your still unsolved ancient post and give a reproducible example.
Thanks for reminding me about that thread. Smile
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.

Quote:
Quote:
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.
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 398
Location: Japan

PostPosted: Thu 14 Aug 2014, 23:44    Post subject:  

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.
Quote:
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.
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11072
Location: Arizona USA

PostPosted: Fri 15 Aug 2014, 00:34    Post subject:  

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.

Quote:
...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. Laughing

Quote:
...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.
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 398
Location: Japan

PostPosted: Fri 15 Aug 2014, 03:51    Post subject:  

Flash wrote:
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.
Yes, and I never challenged this. It copies files which it displays in the order it displays them (you confirmed this in your other thread), but there is no rule for the files it does not display. i.e. all the files and subfolders contained in a folder.

Maybe it's clearer with a simple example. Go to /root and sort by name. Now select the folder .local and the 2 regular files .bashrc and .Xdefaults. You now have 3 files selected. When you drag these files to a target folder ROX calls the cp command and passes a command line which may look like this:
cp -a /root/.local /root/.bashrc /root/.Xdefaults /Targetfolder

The cp command will copy from left to right, which is the order you saw in ROX and is probably what you want, but cp has no idea that you pulled the files from a sorted ROX display, it has no idea that .local followed by .bash is considered an ascending order in ROX, it has no idea that this is the result of a sort by name and not of a sort by size - in which case you would expect the contents of .local copied in size order?. There is no way ROX can instruct cp to copy the contents of the folder .local in a particular order. Everything beyond the order of the 3 files you see in the command line is decided by cp and the most efficient copy algorithm and not by you or me or anyone else, not even by ROX Wink
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3292
Location: Ontario

PostPosted: Sat 13 Sep 2014, 16:43    Post subject:  

new version 2.3 - new German translation added

5 languages now supported.

Automatically lists Windows share folder (see image below)

Some notes: Fat 32 disk doesn't support some characters such as colon :
therefore the file won't copy. You don't get a warning of this problem.

Also linux links aren't supported in fat32 and ntfs partitions so if a folder with
some links is copied to a windows partition an error is reported in rsync log window.
However the other files will transfer.


Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 4 of 4 [52 Posts]   Goto page: Previous 1, 2, 3, 4
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.0998s ][ Queries: 12 (0.0160s) ][ GZIP on ]