General :: Need To Delete Old Files To Make Room On Drive
May 7, 2010
I have a Dell Netbook which came with Ubuntu Linux 8.3 (I think) in 2008. The drive is a SSD 3gb unit and the drive was nearly full when I received it. There was only 758mb free on the drive and I wondered why they would sell a computer with so little free space on it. When the updates was installed the drive was full. Is there a way to retrieve some space on the drive without deleting programs which came with the computer? I have tried ordering a new drive online without getting one, including Dell itself. In Windows you can delete old files which will free up some space and is wondering if the same thing is possible under Linux?
finally got mostly everything fixed on my opensuse 11.3. 11.3 is my only os on my laptop right now and I want to be able to dual boot with backtrack4. I used to have bt3 but it was on a usb loading up with winxp. Anyway, I've downloaded the iso image and after hours of forum reading I figured out how to mount the iso image. Doing so allows me just to look at the files. Is there an install file somewhere I'm missing?
Also, couldn't ever figure out how to partition my drive to make room for bt4. Tried downloading gparted and failed. Tried using the expert partitioner program that came with this system but it won't allow me to create another partition. Couldn't ever find a reason why. Will bt4 allow me to create a partition upon installation? How do I install?
I am using FC11 and have an external USB drive attached which was originally formatted and used with OS X. I'm pretty sure it's an HFS+ filesystem, but fdisk-l simply reports "unknown". I moved a ton of files to it from an older OS X drive, including a bunch of backups that were done with Time Machine in OS X.
Now I've moved them all back to where I want them (onto an EXT2 formatted drive) and I'm trying to clear those Time Machine files off the HFS+. The drive will ultimately be used with a Mac, so I don't want to wipe the whole disk (aside from the fact I have a ton of other stuff on there that I don't want to move).
The problem is that I cannot get FC11 to delete the Time Machine files. When I try to delete the top level folder ('rm -rf topfolder'), the command looks like it's running (and goes load crazy on the CPU), but I left it running all night, then cancelled it this morning, no files were deleted. It just sits there. When I try to delete folders a little lower in the tree using 'rm -rf myfolder' I get an error telling me the folder is not empty. When I go down to the lowest level folder, I can only find DS_Store and .localized files in it. The properties are rather odd... output of ls -als is this:
Im kind a new to open suse, though I think its a very nice alternative to the ordinary Linux distroes.Recently I tried to make a distro for my laptop in the living room, -the only thing its supposed to do is play music, and be able to connect to the internet from time to time. However, I must have forgotten some packages or something, cause when I booted the engine after installing,-(wich btw went smooth:-)) -I cannot play any music, -getting some fail message. -Now iVE installed all the g-streamer packages and the totem player, what else do I need ???. -Have been looking through the packages, but I dont seem to find any other packages related that i think i shound use...
When I try to delete files form my flash drive, the file picture goes away, but the actual data does not. Lets say I put a 900mb file on my 4gb flash drive, then I delete it. It will still ll me that only 3100MB are left in free space. If I try to add more than that it tells me the drive is full. I keep reformatting and reformatting into all different types on file systems but nothing works.
I have a hd5 (?) of 10 GB for the system OS. I had used about 7 GB and believed that adding software from a NIC would not greatly exceed space on this drive but was wrong - it now has about 40KB remaining. The system has a 2GB swap drive elsewhere on the SUSE 10.1 Enterprise desktop system, 127GB HD total. The total HD has about 63 GB of "unused" space - in the hd6(?).
I could not expand the hd5 partition using the on-board partition software and did not know how to handle it so rebooted. Now the system will not start since there is not enough space. My questions: 1) How can I/can I us the on-board partition expansion SAFELY to expand the 10GB to 20GB from a scripting bootup or similar? 2) I have GNU-parted but could not install it on the Linux before rebooting - not enough space. Can it/should it be expanded on a floppy drive or similar and be used to expand the hd5 partition? I do not have another Linux machine. How can I get out of this fix?such as creating another partition, 20 GB as hd7, moving all hd5 info. into it (by script since I cannot boot up?), then deleting the orignial hd5, and renaming the new partition hd5?
I experienced a full hard drive yesterday due to a massive error_log. We took care of the errors, but later found out we were missing files, including a MySQL database table. Having a shopping cart and ecommerce stuff on the site, we found that some of those files were missing, too.Does RHEL 5 have some sort of feature for automatically deleting files when the partition is full? If it does, I want to turn it off.
I got a free flash drive from Columbia College that has some files I want to remove. I did the right click thing and they are read only. I tried to change to read and write but I got. Sorry, could not change the permissions of "ColumbiaCollegeViewbook.pdf": Error setting permissions: Read-only file system
Now this thing only shows up as 5.4 MB Yea that is right Megabytes! But I have a plan for it. So is there any way to get the files off so I can put mine on it?
I am administrating a lab in a university and every semester we need to delete all the home folders of the accounts for the next semester. I would like to make a bash script that does this automatically and having trouble with it. Note that I am writing my very first bash script. What I need to do is make a script to delete the following:
Delete everything in /home/$exp$num/$dir when "exp" could be either "rt", "ic" or "sp". "num" could run from 1(single digit) to 45 and dir is "profile" and "work".
This is what I tried to write:
#!/bin/sh cd /home for exp in "rt ic sp" do
What seems to be the problem is the reading of "$exp$num" as a joint expression.
I have a USB drive on which I want to install Arch Linux (using the installer, not unetbootin or something similar, as I want the drive to be persistent.) The computer from which I want to boot this USB supports booting from a USB floppy, not a normal drive. Is there any way for me to make a USB floppy on another drive and use that to boot the normal USB drive?
I need to modify fs/open.c and fs/read_write.c to make my modifications. I cannot find any options in 'make menuconfig' to make these files modules rather than compiled elements. I'm thinking these cannot be modules because the file system won't work without open.c and read_write.c. Is this correct - I cannot compile fs/open.c and fs/read_write.c as modules, only as compiled elements? Or, is there some way for a module to overwrite these routines when the module is installed and re-enable the routines when the module is removed?
Just loaded 9.04 side by side with XP. HDD says it has 138 of 149 remaining....When I try to load updates in Ubuntu it says there is not enough space on HDD. Did I make a mistake loading side by side? Updates are many, so I also wonder if I can choose the ones I need.that is.....once I recognize what the hell, individually, they are.
I just can't stand knowing that there's a slight problem with my PC.I have roughly 12.5 Gigs of files, mostly movies that are multiple clones of a particular movie (which was an entirely different problem altogether) and I CANNOT DELETE THESE THINGS! There has to be a simple way to do it from terminal, problem is, I can't seem to find the trash directory in terminal.
Found what takes space but not sure what to delete here is the output of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 9.2G 157M 8.6G 2% / /dev/sda5 9.4G 9.4G 20K 100% /usr /dev/sda6 213G 213G 20K 100% /var none 1.0G 12K 1.0G 1% /tmp tmpfs 2.0G 0 2.0G 0% /usr/local/psa/handlers/before-local How to identify what to delete to clear up space?
I have a script running as a cronjobIt outputs logs upon each run to /var/log/mylog.logIs there anyway I can delete this or compress it when it gets too large?A cheap and dirty way is to setup another cronjob to delete the log every X interval.... although I'm not sure if that's the proper way
I would boot up windows and do it but window will no longer open my system crashed and was only able to recover linux. i open up system info and 31 gig of memory are used up on windows. i try to delete them but the option doest pop up and the delete key will not work. how can i remove all the windows files without deleting any of my linux stuff? if its possible.
I have a USB drive that I boot using SysLinux. I think select one of several options to complete a task. I do not have access to edit those Kernels. I need to add a option from the Syslinux menu where I can delete all the files from a specific directory.