Fedora :: Removing Space From Files
Oct 23, 2010I used to have a command that removed the *odd* characters from files and replaced spaces with underscores.
View 10 RepliesI used to have a command that removed the *odd* characters from files and replaced spaces with underscores.
View 10 RepliesI have just done a upgrade. And I get the message below. I am not sure that I don't have enough on my boot partition to install the new kernel.When I try and upgrade I get this message: There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
View 1 Replies View RelatedI have a list of files in a directory which starts with - or have space.
I need to copy them back without the space or -?
linux1[sim]% ls linux1[sim]% cp ./-* ./*
In my system, I had installed windows XP first and had deleted one of the partitions (made free space.I am not a techy. I dont know the exact term). In that space, I have installed PC Linux OS (Linux). Now, I want to use that free space to Install Ubuntu by removing the PC Linux OS. When I boot with the live CD of Ubuntu 9.1 to install, in one of the steps, it says the system does not have any OS. It neither recognises windows nor the other linux. Kindly help me. What should I do now. Could I manage to install Ubuntu without completely formatting the system all again.
View 9 Replies View RelatedI can understand installing so many xorg-x11-drv-* files being installed, especially from a livecd. What I don't understand is why I can't remove the ones for hardware I don't have. For example, if I try to do a yum remove (or use yumex to do so) xorg-x11-drv-cirrus, it wants to remove xorg-x11-drivers.Now I understand that the -drivers file is a way to force all of them to be installed. Will it break anything if I go ahead and remove it along with the extra -drv- files?It is more than an academic exercise. I have installed Fedora 12 Constantine on my EeePC 900. Given the limitation in storage space, I would like to free up as much of it as I can so these superfluous video drivers need to go away. Since I don't want to break my setup in the process, I have not executed the command.
View 7 Replies View RelatedThese should be my last pleas for help with regard to Fedora 13. I've been unable to turn off the notifications that appear in the top right corner, despite a decent amount of searching on google. I can't remove any notifications package without removing a bunch of important software along with it. Also, F13 refuses to "Safely Remove" either of my external disks. I have to yank out the usb cord, touching wood each time.
View 5 Replies View RelatedI was trying to install Fedora 13, on to my laptop. I have 30 GB of unallocated space in extended partition. When trying to install Fedora 13, I got stuck, as the installer says that there is no free space for installation.can convert the unallocated space into free space.
View 1 Replies View RelatedI downloaded Remastersys, and have made an ISO of my system. How do I remove stuff from it? It's too large to fit onto a CD, and I don't have a DVD-RW drive.
View 6 Replies View RelatedI have just manage to set up a number of computers using NComputing thin clients. I have set up 5 user accounts.People will be using these account randomly. So what I want is to set up everything as it should be and that to be the default setting. If users download files or make changes to the files these should be for the session. On startup/shutdown all the files and changes should be deleted this way the next user can find the machine clean. And also there is limited maintenance to be done.
View 1 Replies View RelatedThe rm command man pages discusses removing files or directories recursively. So what is meant by deleting a file or directory recursively? And what are some reasons for doing so?
View 3 Replies View RelatedDoes anyone knows how to remove files from grub loader.BTW i found some tutorials but they don`t seem to work.I`ve tried Alt+F2 then I`ve edited this command: gksu gedit /boot/grub/menu.lst but it doesn`t seem to work what do I do?
View 5 Replies View RelatedI have stuffed up my system and I want to remove Glib 2.20 and Glib 2.26. How can I do this? Where are the files located? Sadly, there does not seem to be a make uninstall file for Glib.
View 3 Replies View RelatedI want to develop a bash or Perl script that will evaluate files in the local directory and delete every file that is older than a specified time period, such as three months.I write documents and save the latest modifications by putting the current date in the filename, so I can easily see which versions are the newest. I would like to clean up my directory every once in a while, though, by eliminating the copies that are more than a few months old.
View 14 Replies View RelatedDepending on whether I launched it with gnome do or the main menu I got a different 'version' of spotify, I could tell this because it had different searches remembered. I tried removing wine and spotify and gnome do via synaptic and completely remove and then the option to remove configuration files left over. I did a search and there were loads of wine files left so I just deleted. When I reinstalled wine, spotify and gnome do the same problem occurred.
Also Firefox started crashing ubuntu, just freezing it, so I tried to uninstall completely, but when I restarted it kept the same add ons and still crashed. So I uninstalled again and tried to delete all firefox folders but I can't work out how to do it as root.
I had added a repo from this site: [URL]...now, i have removed the repo as i dont want to use the software anymore, but how do i make sure that i have removed everything on my pc installed from that repo?
View 2 Replies View RelatedBasically this is my problem:
1.) I want to remove Ubuntu and Grub and have only Windows XP on my PC again. (Remember the good old days?)
2.) I want to put the Ubuntu partitions back into Windows partition. I need the space.
3.) I can't use an XP disc because I don't have one. (No. Neither does anyone else I know.)
4.) FIXMBR isn't working... am I doing something wrong and what other options do I have?
5.) Does anyone know how do this without removing all my files on the XP? I can't afford to backup everything on my XP. I CAN'T!
I had added a repo from this site: [URL]now, i have removed the repo as i dont want to use the software anymore, but how do i make sure that i have removed everything on my pc installed from that repo?
View 1 Replies View RelatedThe following script will work when I type the path to the file I want to checksum, but not when I drag the file to the terminal because the linux terminal (unlike the Mac) automatically puts quotes around the file path, which causes an error. I did not find anything in gconf-editor or anywhere else to alter this behaviour, and my post in Launchpad is unanswered so far. (the script in itself is not very useful, I just stumbled upon this error when experimenting with bash).
So, is there a workaround for stripping the quotes from the input, or can I configure the terminal to not quote the input when I drag a file into it (which I would prefer?)I am currently logged in from Mac OS, but the question refers to ubuntu karmic with which I dual boot.ADMINISTRATORS: Thanks for the quick reply to my newbie question about posting new threads. Actually I don't see now what the difficulty was; I guess I was tired from trying to debug the above script (not funny).
I m trying to install Alsa for playing wav files I typed this: aptitude install alsa-base It started removing a lot of software from debian. Is that expected with that command? Do I need to install another "base" to bring things back?
View 4 Replies View RelatedI'm migrating data (music and videos mainly) from a NAS server that was being used as my iTuens Media Folder onto a fresh install of Ubuntu 10.04 and I'd like to get rid of all the ._DS files as well as other files that os x 10.4 has been creating such as duplicates of mp3 files but prefixed with "._".
The reason I'm keen to remove all of these files is because I stumbled across a corrupted ._DS_Store file that caused me all sorts of head aches and I don't want them causing any problems in linux.
I've used the search function in Nautilus to search for ._ but it returns no results, even when I'm searching in a directory that I know for certain has those files in it. I have 'View hidden files' selected.
Is it possible to remove the "ubuntuone-synchronized" emblem from files and folders that are being synchronized with Ubuntu One? Seeing the check mark on all my files and folders is just really annoying and distracts from the thumbnail preview that nautilus provides.I've tried going into folder properties -> emblems and de-selecting the emblem but it won't let me.
View 3 Replies View RelatedThe Cookbook gives us
for FN in $*
do
echo changing %FN
chmod 0750
done
but that changes all. how can I change all files but subdirectorys? I was thinking of something likels -l | grep -v ^d but can't get it to work. I'm still learning about variables and how to use them. thanks in advance for your Patients.
Logical Memory Space of 4GB is divided in to 3GB User Space and 1GB Kernel Space. Always. Correct?
1. How can we change it? (just changing value of PAGE_OFFSET is okay?)
2. If system have only 256MB of memory (embedded system) and suppose Kernel Modules eat away all the memory during boot. User space will be left will no memory. Is this case possible?
Quote: evolution-data-server-common architecture independent files for Evolution Data Server. Why, when removing this package, does Synaptic want me to also remove:
Quote:
gnome-applet
gnome-panel
indicator-applet
ubuntu-netbook-remix
This seems pretty stupid. I just want to get rid of Evolution! Netbooks are cloud based machines, why was Evolution even included?! The same with OpenOffice.
Seem my rotation part is not removing files older than 90 days. Anybody know what is wrong?
Code:
#!/bin/sh
#navigate to the desired backup location
cd /public/backup/linux
#dump the MySQL entirely, output file is dated
mysqldump -u root -pmt1jxz68f2 --all-databases > "`date +%Y%m%d`.sql"
#backup the web folder
[Code]...
I know a bunch of commands and I am comfortable using the terminal, I even set a powerpc server but I can't figure out how to remove epiphany on this new computer I'm setting up. I didn't install anything with tasksel. I installed gnome and xorg afterwards... I load it up and 'startx' just fine. then I check around for the programs that were installed. I lik'em gimp, lot's of utilities. gedit. anyway I find epiphany, which I have already established that I dislike, I immediately go to the root terminal (another nice program that comes with gnome) and type apt-get remove epiphany-browser-data the output says it will be deleting gnome... however I have researched and found these are simpy meta packages that don't really matter.... however under the section that states all the packages that will be removed by autoremove there is a huge list... I doubt these packages are safe to remove. how to remove epiphany without removing a huge amount of probably needed software
View 14 Replies View Relatedwhat i did was, remove evolution mail from synaptic, what i wanted to do was just remove the indicator applet from the task bar. i read a bunch of bad stuff about removing evolution from synaptic vs just removing the applet.
im worried. did i break anything or put my security at risk. after, i used a command (older) (sudo apt-get install ubuntu-desktop)to install ubuntu desktop. because i thought that it would fix evolution. then i went to synaptic and installed a package called evolution. i rechecked evolution in applications menu. however, i notice that i have both a checkable evolution and two evolution icons. nothing 'seems' broken. im not sure if it ever was. and evolution calender pops up as normal, as does the the installed plain evolution. they both seems to be an exact copy of the other.
all i really wanted to do was remove the indicator applet. did i make a serious mistake. since ive had ubuntu, ive reformatted a lot because i was worried i made a mistake of some kind. however now im into the more "make a mistake and fix it stage' as im pretty happy with my current desktop and have worked hard to customize it. the command, sudo apt-get remove indicator-messages removed the mail icon. i still am worried that i broke something, or put my security at risk. also, now i have two mail icons. evolution mail and calendar, and another just called evolution.
I am running Ubuntu 10.04. I am transferring roughly 62 GB of data libraries to my 84 GB /home partition. I'm using rsync because scp kept stalling, and I had to restart it over and over. Things were going great until recently when it began to show an error: "failed: No space left on device (28)" These are the things I've done so far: Used the GUI to find out how much I have copied so far: 5,149,552 which take up 30.2 GB. df -h, it tells me that my /home partition is 56% used, and that I have 33 GB available. (42 GB used out of 78 GB with 33 GB available) Also, none of my other partitions are anywhere near 100%. the /home partition is the most-used and it's only a little over half-full. du -s in the directory where I'm copying all of this: it also returned 42206500. Additionally, when I try to save screen captures, it sometimes fails with a "device full" error. What's going on? Am I really out of space? Why doesn't it show me that I'm out of space?
Is there a hidden temp file that rsync uses that just got too full? I did a little research on wikipedia and it said that ext4 has a 64,000 directory limit. Could it be that I somehow broke that limit with all of these files? Solution: not enough inodes for the vast amount of subdirectories on hard drive. This wasn't an RSYNC problem, rather, a partition configuration issue. To check inode usage: df -i If you want to add any inodes, you will need to backup your partition and format it using mke2fs (man mke2fs). Be sure to change the respective inode setting.
I seem to be running low on disk space on my linux server. 'df' shows about 82% usage on a stock CentOS install with sendmail. I routinely delete old email directories, but for some reason, I stay pretty high in disk usage. Is there a fancy little bash script or something I could run that would find the biggest files and I could go get rid of them?
View 3 Replies View RelatedI have a bash file as following:
Code:
#!/bin/sh
deal_file(){
printf $1
[code]....
so the for loop spilt the file names if containing spaces, how can I fix the bug?