My husband partictioned our hard drive Ubuntu/Windows. I use Itunes and Lime Wire a lot. When I am using Ubuntu I cant find the files we used on windows. Can anyone tell me how to access these music and pic files so I can view them and listen to them while on Ubuntu?
I've loaded it as dual boot with Windows XP & I'm now trying to find equivalents for some Windows utilities. I have found two possible replacements for allway sync but how do I install them? One is Synkron and the other is FreeFileSync both downloadable from sourceforgenet. But they come as packages, one as a tar.gz and one as a zip. What do I do now? In Windows there is an .exe or install file.
After several times install & reinstall,i got a stable dual boot vista / ubuntu 10.10.,but i can't access or even see my windows partition from ubuntu,i installed my dual boot with wubu this time,in previous installation when i didn't use wubi , i didn't have such a problem & windows partition with all my files in it (windows files,media ,etc,) was easily accessible from "places" on ubuntu . I already disabled windows firewall & other security options but nothing changed
I am trying to do a find/grep/wc command to find matching files, print the filename and then the word count of a specific pattern per file. Here is my best (non-working) attempt so far:
Is there a way to specify to find that I only want text files (and not binary files)? Grep has an option to exclude binary files, so I thought find probably has a similar feature, but I've been unable to find it.
The find command does not seem to find all files in my directory hierarchy. My home directory is automounted from a server. The command to illustrate this is:find | sed -e 's/^.///' | sed -e 's//.*//' | sort -uThe result misses several directories. Likewise, a find of a particular file, like:find . -iname *sample* -printwhere sample_file.txt resides in one of the directories that is missing in the first find command, finds nothing
I know how to search for normal files but can you let me know " How to search for 5 setuid files on the system. Also explain, for each file, why setuid mechanism is necessary for the command to function properly"
The problem I have is that I need to replace a more complex string, like this: Old string: /mnt/stor6-wc2-dfw1/627896/982574/ New string: /mnt/stor8-wc2-dfw1/369587/302589/ There I don't know how to do it... since the / is what separates the old from the new strings, and the strings that I want to replace have / in it. Also, I would like to know how to specify under what folder replace the files, for example, I want that it search/replaces all files under /var/www/mysite/htdocs folder.
shell scripting in Fedora14I want a script"Find in curent folder for files, and it copy first file he find with name gived by user, if name already exist then echo error message and finish"command usage " bash scriptname copyASname"
smthing like Code: #!/bin/bash for files in /home/user/* do
I've got a collection of MP3 files, but sometimes I stumble across a double file in Rhythmbox. At first, I thought they were the real files, but after trying to fix the tags (artist names were incorrect or missing) in tag editor, I didn't see any change in the files in Rhythmbox.
This made me search for the album in which the files were (in Rhythmbox). I found out that these incorrectly named files were doubles, but they didn't show in the actual folder.
So, I deduced, They had to be fakes. I threw the doubles in the trash bin, and there it was. They were hidden files (with a dot in front).
How can I find all these hidden files, so I can remove them?
I currently dual boot windows XP Pro with Ubuntu 9.10. I made a mistake last night playing with gparted and lost my E drive, which had all of my music, games and movies plus is where my Ubuntu install was. I then ended up reformatting the drive with windows and reinstalling Ubuntu 9.10.My question is how can I put my windows files on my E drive without going through the hassle of reinstalling windows.
I have a 20g IDE drive where my windows install is, windows and Ubuntu both tell me this drive is failing, (I have used it for booting since 2002, so I am not that concerned with it), another 40g IDE drive for more storage and a 160g SATA drive where Ubuntu is again installed. I want the SATA drive to be my main boot drive now, so how can I clone my windows boot to the other drive. I tried gparted but could not figure it out. I have gparted burnt to cd, booted with it and just don't understand how to use it.Also, if I clone this boot drive to the SATA drive, do I need to change jumper settings on my 40g to master when I take out the 20g drive.20g master and 40g slave on first IDE channel and 2 CD devices on second IDE channel and SATA drive on first SATA connection. I read somewhere that it is better to keep the cd devices on another channel than the disk drives.
They have pictures and documents everywhere so I figured I would just backup their entire HDD onto my external one and let them go in and transfer them back off. I keep proper backups so this isn't how I normally do things. I have done similar things in the past with dieing HDD's and Knoppix but I have never had this issue. I burned a CD using the latest ISO and Ubuntu seen both the main HDD and my external. I just copied all the contents of the main HDD over to the external. All went well and I could browse and view all the files from the external HDD after the transfer using the live CD. Unfortunately I am having an issue seeing the external HDD in Windows. As soon as I hook the drive up - windows says I need to Format it(Which I won't do obviously). But if I boot the live CD I can still see and use the files. How do can I get windows to see the drive and files without destroying data?
I am trying to find out how to search for folders that do not contain certain files. My music collection of 20+GB a is organised into folders (Artist-Album). I would now like to ensure that every album folder contains the respective cover art image as a cover.jpg file. Quite a few do already, but many don't. So I would like to find all folders (not files) that fulfill the following criteria:is a subfolder of /home/user/Music; Does not contain further subfolders (i.e. don't want to find artist folders); Does not contain a file named cover.jpg.
I switched from 9.10 to 10.10. In 9.10 there was a folder where the temporary flv ..... video files were downloaded, so I could capture them before being deleted. Now with 10.10, which is the folder? /tmp isn't, I'm watching videos but no flashxxxxx files there.
I want to use the shell to find .zip files in my music directory and all sub directories and then delete only these files. The following will find the files I want to delete
Code:find /home/me/Music/ -name *.zip -lsWhat is the next step to delete *only* these files.Would it be a good idea to move them to another directory before doing the final rm - how would I do this
To start im going to specify as many things as i can think of that may help this process.
1. My laptop came originally with Windows 7 on it. 2. I installed Lubuntu based off Ubuntu 10.10 i'm assuming the slight differences between Ubuntu and Lubuntu shouldn't make this to much trouble. 3. This was installed off of a flash drive. 4. Windows was working fine until the partition of Lubuntu. 5. My old windows files can still be accessed so i'm going to assume windows 7 was not partitioned over or deleted. 6. I'm running off of a Lenovo computer which i believe to have partitioned a section off for some of it's own features never looked into it or touched that partition 7.Currently GRUB gives me four different choices 2 being of Lubuntu connection and 2 being of some memtest thing that i have never seen before. 8. I can't think of how to copy this but when i type in sudo fdisk -l i get partitions from /dev/sda1 through /dev/sda7 every one filled. code...
I'm trying to find a way to backup my files to cdr/dvdr. I'd like to put a blank disk in when I finish using the machine, have it backup anything new, up to the size of the media and stop. I can put in new media the next day and I'd like it to continue from where it left off. It would be best if the backups are readable by any machine and I could extract specific files if a problem should arise. Any suggestions? Tar won't let me specify a final archive size and wants to do all the volumes in the backup at the same time.
I am trying to use "find" but I can't quite get all of the switches right for it to work. I have a folder that contains many folders. Let's call that original folder "MyFiles". The subfolders contain java files (and those subfolders possibly contain subfolders that contain java files). Here is what I want to have happen:
0. Create a file to print to, call it "output.ps" 1. Find all of the Java files in the MyFiles tree. 2. For each java file that is found, append it to output.ps along with it's absolute path name.
So far I have:
find . -iname *.java
and this finds all of the java files for me. But then I can't get the files to print to a file using exec.
The "find by typing" feature in Unity, as far as it concerns files and folders, is rather limited. Is there a way to specifically add a directory to the places where this feature is looking? (where is it looking anyway? most of my documents don't show up, even in my "home" directory...
I've just started running Ubuntu from a USB stick as the OS on my pc has failed. I can now turn it on and use the computer, but I can't access all the files that are on the computer already, and I need them! They are still there, all 70+GB of them, but I can't see them or move them to an external hard drive. How can I get them?
I want find a bunch of log files and delete ones that are older than say 5 days. Ideally I would then like to add this my crontab to run once a day.
The log files are in /var/log and are owned by root. They have a standard naming convention which is [date]RootCronRsync-backupHOME.log An example file is 20100621RootCronRsync-backupHOME.log Trying to put together a bash script to do this I think I need something like
Code: find /var/log/ -name *RootCronRsync-backupHOME.log -mtime +5 -exec rm {} ; However if I try this without the -exec rm (ie to see if I can find the right files first) I get the following error find: paths must precede expression: 20090405RootCronRsync-backupHOME.log Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]