I'm using photorec to recover files on a formatted external hard drive. And it just bunches the files together by 500's and throws them all in folders in the directory you tell it to. I have recovered over 80,000 files. I don't need any .txt files or java or html etc. But I want to have seperate music, picture, document, etc folders.I know thatQuote:find - /home/username/Desktop/recovery -type f will list the files that I recovered and if I addQuote: -name "/*.mp3"than it will find only mp3'sQuote:
the filetype of a file? You know, when you type ls -l in a terminal, you get a long description of each file in that directory. The first letter indicates what that file is (- for regular file, d for directory, l for link, etc)My problem is that I have a data directory in /home that shows up like this:?--------- 1 root root 0 1969-12-31 20:00 suniI did managed to change this to?rwxrwxr-- 1 suni users 0 1969-12-31 20:00 sunibut what do I do with the "?" ???and as you can see the size of this supposed-to-be directory is zero, and I do not understand why. Also the date is quite absurd.
how did I end up here? One day I could not boot, I tried a boot disk to use some repair tools. The automatic thingy stomped all over the faulty /home partition, and fixed it by wiping it clean, only the lost+found directory was there when I managed to boot. So I unmounted /home and tried to see what can I do with dumpe2fs, fsck, e2fsck, debugfs, but that's all I could achieve. I saved the terminal window content for further analysis, so if you need to look into it, I can provide that (I just didn't think that it would be appropriate to dump it right here).
Other system info: when I could not boot I had openSUSE 11.1 x86_64, AMD processor, 4GB DDR400, RAID5, with ext3 file system. I had a 11.2 i386 install DVD for my kids play computer, so I tried to use that for recovery - but I don't think that the version nr or the architecture difference would have caused the wipe-out of /home. Instead, I am convinced that I was a lazy idiot and I just left everything to the machine brainlessly
When I plug-in my iPod it gets detected by gtkpod and all the files load fine. I am able to delete files, add photos. But I am not able to add new songs. I get the following errors:1. If I drag and drop files it says "Drag and drop failed"2. If I add files through the "Add files" button,it either says "The following track could not be processes (unknown filetype)"
Is there a way to automatically enable or disable spellchecking in vim depending on the filetype? I often work with tex files (with lots of text) where the spellchecking is useful, and scripts and conf files where spellchecking often marks variables and functions (which are often in red or similar colour), making them unreadable (red text on red background).
I get a bit lazy using cUrl, often letting downloads go without adding the proper extension to images and whatnot. Yes I know about the -O flag, but I'm the kind who likes to give my files unique names right off the bat (until they puzzle out a way to "stamp" files with originating URLs across platforms, Classic MacOS Web-browser style, curl -o is the way to go). So I was hoping someone could help me write a script (bash or python, doesn't matter which) that used the file command to look inside files in a single directory and then rename the ones it happened across that didn't have a 3- or 4-letter extension, appending the one that corresponded with the mime type. But this action only to be performed on files with no extension.
I know Linux and Unix don't bother much with extensions. I started home computing on a Mac IIcx -- that kind of intuition is beyond natural for me and very much appreciated. But I, and a few of my friends and family, alsose Windows where file extensions are an idiot-proof way, if nothing else good can be said about the two, to get file X to open in application Y and not Q, W or Z (or, worse for some, no application at all).I've seen a few scripts in different places, but they all seem to have the flaw of renaming files that already have an extension
I have been searching around into /etc/xdg/ and ~/.config and also /skel/.config (for newly created users!) so I can ensure specific applications open filetypes by default.
I would prefer to be able to use a system wide configuration so that i may be able to run a script with each new slackware release that would change application/filetype defaults for all users including existing to our liking (unless they have already preset their own app/defaults in ~/.config).
I just installed ubuntu on my computer that already had windows 7 on it so I could dual boot them. After installing ubuntu and playing around on it a little I went back onto windows. I then restarted my computer and now it won't startup. I get an error that says unknown filetype grub rescue<. I don't know what to do to get back into windows or ubuntu.
I like the buttons on the left. I'm running 10.04 & I know how to move them. The problem is that changing themes will move them back right. OK, if the new theme has them on the right that's OK. But going back to the other theme doesn't change them back. They don't seem to be controlled by the theme, or I'm just not doing it right.
I have installed fedora 11, now i want to install touch driver for my dell 15 laptop. when i m moving cursur its moving but when i m clcking on touch pad to open anything its not opening, to open i have 2 select any file then i have to click touchpad keys.
I downloaded truecrypt Linux version, giving me a file named truecrypt-6.3a-ubuntu-x86.tar.gz. I assume that's the archive. Double clicking on that produced file truecrypt-6.3a-setup-ubuntu-x86. I assume that's the executable. When I try to run that, I get a "could not display ... unknown filetype" error. Could someone tell me what I'm doing wrong? I plan to run truecrypt under the easycrypt GUI.
I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.
I want to move a 250GB IDE hard drive from a PC and repalce it with a smaller 40GB IDE HD. Currently the 250 GB drive is dual loaded with WinXP and Ubuntu desktop.
This PC is a kiosk style touch screen that I use as a home stereo and some other entertainment and household tasks. I have some hardware (touch screen, USB headset, wireless LAN card, sound card) that are proving to be problematic under Ubuntu. Currently this box is very usable under windows and I would like to just continue using the current build but with the new smaller HD.
I want to move that 250GB drive (along with several others) to a cluster and make a shared network space for file storage, music streaming, etc. but that's a project for another day.
I'm helping a friend with his netbook, and he is used to the regular netbook edition before the unity-style. The small netbookscreen is just not good for this new appbar on the left side (it's one of the old eee-pc's).
None of us like that solution, and I wonder if its possible to move the bar on the bottom side of the screen so it will be a bit more Windows 7-ish? I've searched and looked everywhere so I just have to ask.
I have just installed 10.04 Desktop version onto my netbook after not really liking the UNR! I find that when I open some windows say Banshee when I click on something the thing is not selected and the windows moves very slightly higher up. Then when I click again it moves down again
I was too impatient and upgraded to 10.04. The up-gradation was not without its flaws, but I have worked around a number of issues and I am happily working on it now.
I have installed a number of other software on the 10.04 upgraded version like Eclipse, GATE (NLP software), BasKet Notes, Thunderbird etc. If I install the LTS version will I have to re-download and install all of these things? Or is it portable?
I use only Linux on my laptop and so the stability is very important.
im switching. Vista is......yeah nothing needs to be said. Anyways i only have a few things preventing me from switching, biggest is Ubuntu is currently partinioned on 10gigs of my hard drive, the rest is mostly crap. All i want off vista is music, pictures, and a few videos. how do i get them onto the ubuntu side, or allocate more space to use a friends external harddrive. I know Wine is used for WoW(problem solved) but how about ventillo and the rarely played EvE online? also if possible i need to bring those over as well. other than than Ubuntu kicks the **** out of any windows or mac OS ive ever used. but thats not sayin a whole lot.
Just finished building a new Ubuntu box and have been getting things setup. I have a new SATA 500 gig drive in the new system. My old IDE drive from the previous system is in and mounted. I can currently boot to either by flipping the BIOS info. Not sure if I can mount the SATA while booted to the old IDE tho, get mount errors at startup.
So, my plan is to move the essential bits of my /home into a storage area, and take ownership of them, so I can import my old mail and other essential stuff. When I try to copy from the SATA drives new install I get permission errors, and all the files are owned by #1002. Seeing how my brain is toast due to heat and working on this build for about the past 8 hours, can anyone give me a simple way to copy over the info from the IDE drive (which will be going away) to the SATA drive and have the data usable for import into my home folder.
I've currently got an older Gateway 1.8Ghz/512MB older NVIDIA box running Ubuntu 9.10. I'm I'm putting my HDD into another one I acquired, P4 2.2Ghz/2GB/Newer NVIDIA card. Basically the HDD will be the only leftover from the old system (and maybe a cdrom) Will 9.10 re-detect everything ok? Or will things I'm not thinking about be configured wrong due to the switch. Also I should state the the Proc on the new mobo will be replaced with a P4 3.4Ghz within the next couple weeks. But I was thinking since I'm not going to 64bit it wouldn't make a difference, correct me if I'm wrong. my /home is on it's own part so a reinstall wouldn't be too big of a deal if needed, just don't want to do unnecessary work.
I had a folder named "Rage Against the Machine" in my Home directory which contained a bunch of music files. I opened my Terminal window and planned on moving it to a folder named "Downloads" inside my home folder, so I used this command:
Code: sudo mv "Rage Against The Machine" /Downloads
Now I can't actually find the folder inside Downloads, which I think it should be. so I even tried running this to find it:
Code: locate "Rage Against The Machine"
and it couldn't find it either.
Where did it go??
The folder size was approximately 837.6 MB in size total.
Recently I decided to remove Vista from my Pc and put Karmic Koala in its place. Instead, I formatted C: then created a new partition and put Ubuntu there but now it won't even boot!. All it does is stay on the logo screen and flash the Caps LED. Booting on 'safe mode' only works until the message: gave up waiting for root device.
I'm sure there are a lot of guides to correct this error
I know there is a lot of tutorials about this but I`m kind a new in Ubuntu and Linux. I know that it is good to set different partition for /home. But when I installed my ubuntu 9.10 I made 4 partitions
i installed ubuntu 10.4 on my samsung n110 netbook, the regular one, not the netbookremix so far it looks good, some little inconveniences though, my main one right now is: i used to be able to grab a window with the mouse on one desktop and move it to another desktop just by dragging it (i.e. drag it to the right side of the screen and then it would switch desktops automatically)
now that doesnt seem to work anymore, i can only move the window but then i have to switch desktops manually and move the window some more
this really sucks, i know for now i can use ctrl+alt+shift+left/rightarrow but im used to doing it with the mouse and i quite like it
so my question is, is this a common issue? is it specific to my environment, if that's the case i'd be happy to give you more info on it...
right now i m using ubuntu 10.04 installed on virtual hard disk (wubi), but now i want to move it to dedicated hard drive partition. i found is to use LVPM however that software is NOT compatible with ubuntu 10.04. . .
I have recently moved from an Nvidia 9400 GT to a ATI HD 5670 but im having a little trouble getting ubuntu to run properly with the new graphics card. I have uninstalled all of the old installed graphics drivers for my nvidia card and have tried to install all of the ati ones.
I have a dual-boot grub2. On the list, there are Ubuntu 10.04, Memtest x86, and Windows7. I was wondering if it is possible to make Windows 7 first in the grub boot list. At the moment Ubuntu is first, so if it's possible to make windows 7 first.
I've followed several suggestions on my system and overall performance is better.
My question is related to the following:
Quote:
OPTIMIZATIONS NOT RELATED TO STARTUP
Move your temporary files /tmp folder to your RAM if you have loads of memory. This will also provide you greater privacy. Edit /etc/fstab and add the following line to it
tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0
Is this not normally implemented since some users don't have a lot of RAM?
Also, would it make that much difference if the system didn't have a lot of RAM to work with?
I am going to move my ubuntu to a different drive. Right now I have it on my primary sata drive in an extended partition. I want to move the whole installation to a different drive. Is there any way to do this without reinstalling ubuntu. Grub is installed onto my 100mb windows 7 boot partition. Is there a way to make grub point to the moved ubuntu installation on the different drive?