Ubuntu :: Copy All The Pictures From Various Folders In Documents To A Single Folder
Dec 8, 2010
I'm using Ubuntu 10.10. I want to copy all the pictures from various folders in my Documents to a single folder. So in Nautilus, I clicked on Places > Search for Files. Then chose the Documents folder and typed *.jpg in the search criteria. It found all of my pictures just fine. However it would not let me copy and paste them into a folder I put on my desktop. Copy is not on the "right" click menu and Ctrl C did not work for the highlighted search results. This is so simple in Windows but it does not seem to work in Ubuntu.
I can access my windows my documentsmusic by mounting my windows drive and browsing to it. I can then playwatch my movies and pics in Ubuntu.But what I really want to be able to do is re-map the Ubunbu docs folder like so:
Ubuntu Pics = Windows My Documents pics. Ubuntu Videos = Windows My Documents Videos.
I'm not very unix savy so I've been using Ubuntu tweak PersonalDefault Folder Locations setting and browsing to my Windows folders. But it doesn't work.I have managed to make a desktop 'short cut' and that works but I'd rather set the system wide default document folders.
Is there a way to recreate all the folders from one directory to another without copying over the contents of the folder? I've been trying to do something like this,
Code:for i in `ls $X`; do mkdir $PATH/$i; doneUnfortunately $i is deliminated by whitespaces in the filenames and not the actual folders.
$X contains only other folders so I dont have to worry about regular files but any kind of more "advanced" solution would work.
i am using ps3mediaserver to expose my photos collection which is distributed across multiple sub-folders. unfortunately the ps3 can only show a slideshow for a single folder at a time, hence i was wondering if there was a quick way to create a single folder containing symbolic links to all my pictures.
I have 8.04 installed on my laptop by WUBI that I don't use often it is no longer working because of a graphical error is it possible to get the pictures I want from ubuntu from windows or a live CD. If so where does ubuntu save files that I could access through windows.
I am wondering how to change the default paths for Pictures, Documents, Music, etc to different paths (on a different partition within the same HDD). What's the cleanest way of going about this?
I have a Macbook Pro 5,5 with Ubuntu 9.10 installed using rEFIt. When I mount the Macintosh HD in Ubuntu, I am unable to access any of the folders under Users, except Public. I tried changing the permissions in OSX, setting "Read and Write" for "Everyone" on a couple of folders, and, when I log back into Ubuntu, I can see that those are the permissions for the folder, but Ubuntu still tells me that I do not have permission to access the folder. I've tried setting the folder to share, thinking that this must be the reason that I can access Public with no problems, but it didn't work.
I've browsed the internet extensively, and the only thread I could find related to the issue was by someone who had the exact same problem as me (I don't know if they had the same macbook though), and it was never solved (the only advice given was to either change the Ubuntu user number, or change the permissions of the folder).
I want to connect a laptop running ubuntu 10.04 to a laptop running windows 7 via direct connection in order to transfer files like music, documents, pictures, etc. I have an ethernet cable that I thought I would need in order to do it. Is that even possible?? If so, how would I go about doing that?
Now, I have tried to share the files wirelessly but for some reason when I pick up the workgroup on the ubuntu laptop and enter the password in order to connect to the windows laptop it says my password is wrong, when I know for a fact that it is not. I know I can transfer files with a flash drive and what not but I want to try to get this working.
I have 2 users and I would like to copy all the files and folders in one home dir to another.... sounds simple, til i got started. Ive tried
Code:
sudo cp -nRv /home/user1/* /home/user2 but that didnt copy the .* folders. Im after the firefox and thunderbird folders mainly, but all of them is OK too.
im talking about the .adobe, .amsn ..........
How can I copy the .* folders from one user home folder to another and then give the correct permissions to the new user.
I am looking a way to access my windows vista files (documents and pictures) in opensuse. I have a problem my Vista doesnt load anymore and I really need to recover some files from it before formatting.
I know very very veeeery little about linux. I installed few month ago but then didnt have time to really work on it. I checked on google but it's more confusing.
I have three partition. One is for Vista home edition 64 bit, the other one opensuse 11.1 and a third one for dell stuff (not sure what is it exactly )
How would i go about copying all .jpg or .JPG files from a folder and all its subfolders to my /usr/name/pictures folder? I'm guessing I'd have to use some sort of .[jJ][pP][gG] to get all the pictures from other examples i've seen, but really not sure how to use that in a recursive cp.
I have many files and folders in my source folder. I want to copy some files and folders from that source folder to destination folder. What should be require to given with the "cp" command?
How to copy a Read-Only file in Linux and make the copy writable with a single cp command in Linux (Ubuntu 10.04)? The --no-preserve and --preserve seemed to be good candidates, except that they should "and" the mode flags, while what I am looking for is something that will "or" them (add +w mode).
More details: I have to import a repository from GIT to Perforce. I want that all Perforce depot files are Read-Only (that is how Perforce was designed), while all other files that were derived/copied from depot files are writable. Currently if a Makefile tries to copy a Read-Only file then the derived file will also be Read-only. This leads to build-errors when cp tries to overwrite Read-Only file second time. Of course the --force is a workaround here but then the derived file is also Read-Only. Also I do not want to mess with "chmod" after each "cp" command - I will do that only as the last resort.
I am trying to figure out how to get all my pictures in my folders to have a thumbnail I have gone under view-adjust view properties and selected "show preview" option and than selected all folders at the bottom of the screen. I also went back under the view menu and made sure that the preview box was checked. Only maybe less than half of my pictures are able to be previewed is this a common problem.
just installed ubuntu couple of days back on my netbook. I am still a beginner, enjoying my adventure exploring ubuntu. I have another desktop which runs on XP. I am able to access XP shared folders through my netbook(linux). However, i wanted to copy files from XP infact folders using TERMINAL in my netbook, not copy and paste using my mouse. Are there any commands for it?
I would like to permanently move the special folders "Desktop", "Pictures" and "Downloads" into the "Documents" folder. Currently they are stored in their default location in my home directory. Can I just drag them there and my system will still work like normal, or do I have to do this with gconf or something like that? I'm running Ubuntu with stock Gnome desktop.
I find it very strange that you can just insert Ubuntu installation CD in any PC, and have unlimited access to all users' My Documents folders on that computer. It doesn't even ask for password, nothing. I can take Ubuntu CD with me and copy data from all PCs in the company where I work.
I'm trying to copy a sample set of files/pictures to a directory on my desktop. For my sample from /home/user/pics containing 7,000+ pictures, I have a desired list of:
Code:
user@computer:/home/user/pics$ ls | tail
I use that to generate a list of a few files that I'd like to move to my desktop. I tried:
Code:
user@computer:/home/user/pics$ ls | tail | cp /home/user/Desktop
I thought that might dump the tail list of files for an argument in the cp command, but no luck. I then tried:
Code:
user@computer:/home/user/pics$ ls | tail | cp . /home/user/Desktop
I have overlooked some very important tools that would give me the information I'm looking for. What I'm trying to do is -
Plug in a USB camera find /dev/camera-pseudonym mount /dev/camera-pseudonym /camera cp * ~/pictures umount /dev/camera-pseudonym
and then work on adding this camera to /etc/fstab so that it will automatically mount to the usual place. I don't know how to find the pseudonym. I can, lsusb and see Bus 004 Device 009: ID 040a:05c1 Kodak Co. Digital Camera I can fdisk -l and not see any new partitions (which, with most USB devices with storage, I can usually see the partition listed in fdisk -l) After these two commands related to search FOR the pseudonym, I draw a blank and resort to manually searching /dev for things that may be useful.
This is difficult, though, because there are dozens of files named usb-something, and they're all very similar to one another, and not related to typical pseudonyms I'm used to (like /dev/usb[0-9], /dev/sd[a-z], etc) I would like to be able to find the /dev entry based on the ID 040a:05c1 because every USB devices I've tried has been listed by lsusb, and is accompanied by an ID number.How do I find the pseudonym in /dev for any usb device?
I accidentally deleted the pictures folder in the Home folder (the content was backed up fortunately). How can reinstall this original folder to place the pics back? I cannot find the location. The theme is Ambiance with the Ubuntu-Mono-Dark icons.
Recently I setup a system for a non-technical user. He is only using Firefox, Pidgin and OpenOffice for about 2 hours a day. I have created a folder "/home/jim/myFiles" where he can save his document files. But Jim has accidentally deleted his myFiles folder on 2 occasions. He had intended to delete a file in that folder. Is there a way to lock the folder so that the user and create/read/write documents in that folder but not delete the folder itself?
I bought a kindle dx the other day. When I wanted to copy some pdf files to kindle attached to my pc running Debian testing, I found I could not do that. Once the files began being written, kindle disconnected from my pc !
I have installed Ubuntu 9.04 under my Windows 7 but now my Windows is not opening up because of Hard disk crash. I am still able to see all my windows files from 'home' folder in Ubuntu. How can i be able to see my Document files present in My Document folder of Windows 7??
I have somehow 'disappeared' my Documents folder.I was working on an Open Office document, when I chose "File/Save As" this is the very unwelcome message that came up:/home/ray/documents does not exist. Looking in Places, sure enough it is gone! Looking in Trash the newest file / folder is April 17. Today is April 26.How I may have done this?I guess I'll find out how good my backups are..I need to hit the road for the rest of the day and may not see your responses until tomorrow.Ubuntu 10.10 on a Lenovo R61iEdit:Well, now I've really embarrassed myself. I did find the contents of /home/ray/documents. I'll have to put it down to 'mouse tripping' Earlier I had needed to empty out a USB drive so I could use it this afternoon.
1 - Using Nautilus I created a folder in /home/ray/documents called called "8G holder" to hold the contents of the 8GiB USB drive for the evening.2 - The new folder did not appear to be created, so I did it again.Moved all of the USB contents over, wiped the USB drive and set it aside for use.It now seems that through mouse tripping I some how renamed documents, to "8G holder", created a second folder named "8G holder" in the first one.So now my question is much simpler. It is OK to rename the top "8G holder" to "Documents" and expect all to return to normal?Given that Linux is case sensitive should the name be "documents" or "Documents" ?
Whilst clicking through my toolbar the other day I accidentally dragged a shortcut from my documents folder onto my desktop. Not particularly wanting it there and 'cut' not doing anything I tried 'Move To > Toolbar' and then made the somewhat dumbass mistake of pressing 'Merge' thinking that'd put it back. Instead it did exactly as it said it'd do (shock horror) and turned my documents folder into one unopenable link ie. 'The Link "Documents" is Broken. Move it to the Rubbish Bin? - This link cannot be used, because its target "/home/supergibbon/Documents" doesn't exist.'
Without any obvious Edit>Undo type option, I was hoping you may be able to get the folder back as I don't really want to lose all my documents.
I have accidentally deleted my Documents folder by "shift+Delete"command & it had my important data.how can I restore it.[P]I am running Ubuntu 10.04[/P]
What is the best way to copy and paste some text among text documents in Linux terminal environment? Suppose I have 2 documents, A and B, and I want to copy some part of A to B. What is the way to achieve this?
In Linux bash shell, for a given directory, how can I list:The create date for that directory The number of files in that directory The number of subdirectories in that directory.