Ubuntu :: Copy Files To A Usb At Random?
Apr 14, 2010
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????
View 2 Replies
ADVERTISEMENT
May 7, 2011
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.
View 9 Replies
View Related
Nov 20, 2010
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.
View 8 Replies
View Related
Jan 19, 2010
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.
View 3 Replies
View Related
Jul 9, 2010
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?
View 1 Replies
View Related
Sep 1, 2010
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.
View 11 Replies
View Related
Feb 11, 2011
I have a problem, my filesystem seems to show random corruption. For example:
[code]...
This has happened to many files, they suddenly contain random garbage. Fsck seems to say the filesystem contains no errors I tried to run it multiple times.
View 2 Replies
View Related
Feb 20, 2011
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.
View 5 Replies
View Related
Aug 27, 2010
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.
View 7 Replies
View Related
Aug 25, 2009
How can you create a script to move or copy files from a main directory into multiple directories below the main directory.
View 7 Replies
View Related
Jun 6, 2010
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.
View 6 Replies
View Related
Jun 30, 2011
I have a bunch of photos with varying names. I want to give each photo a random name(*), how do I do that? (*)I'm going to put them on a digital photo-frame that can't shuffle
View 4 Replies
View Related
May 26, 2011
When I'm using various music players in debian, the audio always skips at random intervals, but still continues.
View 3 Replies
View Related
Feb 1, 2011
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.
View 6 Replies
View Related
Jun 8, 2010
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?
View 1 Replies
View Related
Oct 17, 2010
I was using dd if=/dev/zero of=/dev/user name/wipe.conf however i got a message that my hard drive is full.
lots of this is scary - dangerous. what is the best way to fill in random or zeros in deleted files without the hard drive filling up ?
View 9 Replies
View Related
Nov 27, 2010
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)
The system:
Code:
With wget it seems to work...
View 4 Replies
View Related
Mar 4, 2010
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.
View 2 Replies
View Related
May 5, 2010
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.
View 3 Replies
View Related
May 9, 2010
I just installed Ubuntu 10.04. I have successfully installed Apache2, PHP5, and MySQL. I cannot copy files or directories into /var/www.
how I can enable copying of files and directories into /var/www?
View 3 Replies
View Related
May 20, 2010
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.
View 4 Replies
View Related
Sep 18, 2010
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...
View 9 Replies
View Related
Nov 18, 2010
I have a folder that contains multiple files i want to copy.
file1_DK, file2_DK, file3_DK, file4_NO
If i wanted to copy files1-3_DK but exclude file4_NO how would i do that?
View 9 Replies
View Related
Aug 24, 2010
I'm trying to copy files to the /var/www folder on Ubuntu 10.04. But I think I don't hava the permission. How can I do this? Maybe I have to set the rights permissions.
View 3 Replies
View Related
Jan 30, 2010
When I use ldd it prints the location of the depends.Is there a way to copy the depends listed to a location in a single command or streamline it? I don't want to copy each dependence once at a time.
View 1 Replies
View Related
Feb 24, 2010
Why can I not drag and drop files to the new volume in dolphin? I tried doing it as root and it basically told me the same thing, that I cannot write in this volume...
View 8 Replies
View Related
Mar 3, 2010
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?
View 2 Replies
View Related
Mar 17, 2010
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?
View 9 Replies
View Related
Nov 19, 2010
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.
View 8 Replies
View Related
Dec 10, 2010
Now I have learned creating partition in linux (ubuntu), well that's an achievement for a newbie.
The next thing that I want to know is, how can I copy the contents of a partition to another partition. Like if I want to backup its content to a new partition that Im going to create.
View 5 Replies
View Related