I have the following problemI want to copy files to a usb at random?My_mp3_400GB to my_usb_32GBjijiji is enough?But I have little idea how to do it on command, I want to copy files to a usb at random?cp My_mp3_400GB/ /my_usb_32GB????
We have two folders: source folder and destination folder. In source folder we have many sub folders and many files of different type!Script that would copy or move defined number of files from source to destination folder. Files must be selected randomly and sub folder in source folders must be selected randomly and we don't copy or move defined number of files just form one sub folder in source folder. In destination folder sub directory structure of source folder should not be preserved. Solution should be robust and as simple as possible.
I'v been trying to install Ubuntu (and actually all other dists of linux (in hope of succes), but running ubuntu on my other machines and prefer it) on my old laptop. Laptop Acer Aspire 1312XC. Have just run a 24 hour RAM test it turned out ok. Have tried with other RAM blocks in aswell. The install freezes at random points in the installation. Mainly when trying to copy files to the hard drive. The only thing i've succeded in installing was Ubuntu server and windows XP. I have tried with ACPI off and all the other special atributes. No success so far.
I'm looking for a script that copies a random .jpg from a random folder in my ~/Pictures folder to my ~/temp folder with a standard filename. This file will then be displayed in Conky. I can fix the last part, but I cannot find a way to do the first part.
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 have a 160GB harddrive which I installed a F12, would like to upgrade to a bigger drive, but I hate to have to re-install everything.
Recommend a good disk copy utility? The utility should be able to not only copy files, but boot sector and everything. So I just need to make a copy, change my BIOS to boot from the new drive and run everything as before.
Is there a method at the command line to copy files from one location to another and retain the source files group and user?I'm migrating some MySQL files from one machine to another.I want to back-up the original files in the directory presently. They have owner:group of mysql, some have owner:group root:mysql and so on. To copy them under cli or Nautilus everything changes to root for I execute sudo cp or gksudo nautilus and copy via gui.
Since it is MySQL data I could simply do a dump of the database and restore it on the other machine. But there's about 20 db's and I want to do this via a copy for it will be faster - at least that is what I think.
how I can randomly write / create a 1 GB file in bash to test disk / network i/o? I was told I could use the 'dd' command but I don't know if there are some better ways and or what the 'dd' command looks like.
I have about 1000 text files and I need to view each, and move it to a folder if it's the correct one. I can only do basic sorting by length/size, and I can't grep because the text is random. How can I do this besides manually openiing + saving each in gedit.I'm on Ubuntu Linux.I've already done all the sorting I can based on ize,wordcount,greps,date,etc. This is what's left over. I'm trying to find an easy way to view +save/ignore the rest.
When i installed ubuntu. I made a seperate partition so that i could copy an ISO image onto it of an up-to-date version of ubuntu. I wanted to then boot the ISO up so i could install the version that way.I've already tried doing it through the update manager but it'll download, almost be done with installing and it freezes on me. so i figured this would be easier. However i do not know how to gain access to the other partition to copy the ISO image.
I'm having a very strange problem with my ubuntu apache2 server running wordpress. i want do download media files (from within a flash-mp3-player onsite or by link [url]) but the file transfer just stops after a while. (at least sometimes) at random positions. after that i have to clear the browsers cache and try again.
It is really annoying, though it is my band's website and we want to share our songs with our friends. i checked from several clients, seems to happen everywhere (linux, mac or windows clients)
I want to generate a temporary random list from a directory of files and then determine the size of an arbitrary block of files from this list (say 1-25 or 26-50) and add their names to a file along with some other info for each name. I can generate a random list with file sizes like this: ls -l | sort -R | cut -d " " -f 6 but i'm not sure how to add up the sizes of just a certain block of these files and at the same time save the file names.
I am upgrading a QNAP NAS - the unit only had 1 drive to begin with. I have taken this original drive out and hooked it to my ubuntu system and when I boot my machine ubuntu sees the volume that was the volume the qnap shared. and it sees MOST of the files. but when I go to copy stuff it gives errors stating things like 'can't copy data2.cab' - when I go the directory where it claims it can't copy data2.cab there is no data2.cab.
Thing is I am pretty sure there *IS* a data2.cab ... just that the rights or something are such that I cannot see / copy it. is there a simple command I can run on the *entire* drive that will set the ownership of ALL files so that I can see and move them? I just need to copy all these files over to the upgraded nas and then I can reformat this drive.
i have a macbook that wont boot. i want to copy the picture and music from the hd. i took the hd out and put it into my dell inspiron. i booted up with a live cd and im able to view the files. i can play the music. i just cant copy anything to my external hd. its telling me i dont have premissions. i tried to change that in the properties but it wont let me.
the problem is that when i try to copy two files with the name(say ajax.js and Ajax.js) to a pen drive/USB it shows the options for either Replace/Skip. with the above two options either one of the ajax.js files will be copied, but i need these two files. I have also used different USB's, but no difference...
While copying big folders in ubuntu using cp command,it takes a long time to copy in which no status comes on the console while copying.Is there any way to see the status of copying big file while the system is copying the files?
I have a Emerson MP3 player its a real cheap piece of garbage but I got it for free so whatever. I want to use it for audio books. when I plug it in and try to copy files to it it says I dont have permission its read only access. Trying to change the permissions does not work no matter what I try. I ended up finding out it is formatted as a msdos partition, which from what I read at another web site may be fat16. Dont know for sure about that though, just know it says msdos partition type. how I can change permissions to this so I can put my audio files on it?
My computer doesn't like to copy files over 4 gigs to a flash drive. It will copy for about 12 minutes, and then when it's almost done, it's says "File to large." Is there some sort of limitation in the software that can be adjusted for this.