Slackware :: Can Delete /var/log/removed_package Files
May 28, 2011I know I MUST no delete anything from /var/log/packages, but what about that path?
View 9 RepliesI know I MUST no delete anything from /var/log/packages, but what about that path?
View 9 RepliesHow do I delete all the .orig config files after I go throught the following process?
slackpkg update
slackpkg install-new
slackpkg upgrade-all
I am trying to use an old box as backup server. I have tried a couple of possibilities along the lines of:
Quote:
rsync -a --delete --progress --log-file=/home/$USER/info.txt -e ssh /home /etc root@192.168.0.106:/mnt/back
The problem is it does not delete files that has been removed from my local system?
I run the command as root on the local system.
(I realize I should properly not ssh into the server as the server's root but I'm having trouble with the permissions and I want to make sure everything else works before messing around with it)
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.
View 3 Replies View RelatedI am trying to dl the files located here: http://good.net/dl/bd/CCCamp-2007/video/m4v/ using wget.
Now when I use the command wget -r -A .m4v http://good.net/dl/bd/CCCamp-2007/video/m4v/
I get the just a bunch of filefolders, but no files, ex."cccamp07-de-1845-Freifunk_und_Recht.m4v" but its a folder.
the permissions for my home directory were accidentally changed from 'access files' to 'create and delete files', and I changed them back, but ever since then I am not able to change any preferences/settings at all. power management, themes, panels, emerald, anything. my user account is supposed to be the administrator, and all the user privliges are checked. how to get control of my computer back?
View 9 Replies View RelatedIf I am logged in as root in a linux system and I run command rm -rf on / folder, should it remove all the files? also the kernel?
View 4 Replies View RelatedSlackware-specific i suppose as I sometimes run out of root space and want to delete stuff in /tmp.
Code:
#!/bin/bash
# ~/bin/cleantmp
# Script to delete contents of /tmp folder, giving the option to delete
[Code]....
I noticed in my system that my root partition is getting full. I found a lot of old compacted syslogfiles. Had a look at etc/sysconfig editor eg cron but could not find a setting which allows to delete files older than a month. Where and how could I influence this ? I deleted manually all syslog files older than a month. Approx 6GB
View 9 Replies View RelatedIt takes an awfully long time to delete a file when deleting it though one of the KDE programs, like kdevelop or konqueror file manager.
Deleting files with rm works fine. I suspect it has to do with KDE recycling bin mechanics which I know nothing about. I am running fluxbox wm if that matters.
how delete files from /var/wwwwhen I try to delete file from system gives following messagesThere was an error deleting orderorderform.html.""Error removing file: Permission denied"
View 2 Replies View RelatedI have Slackware 12.0 in my desktop pc. How can I remove all portable computer software from it?
View 8 Replies View RelatedI 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:
[Code]...
I'm trying to free up some space by deleting an old kernel file in preparation for installing Fedora 14. When I try to remove the files I get a message saying it is not found?
[root@localhost ~]# uname -r
2.6.32.23-170.fc12.i686.PAE
[root@localhost ~]# rpm -qva |grep kernel
kernel-PAE-devel-2.6.32.21-168.fc12.i686
kernel-PAE-devel-2.6.32.23-170.fc12.i686
kernel-PAE-2.6.32.21-168.fc12.i686
[Code].....
When i delete files from USB, they don't go to wastebasket. Files are moved to .Trash-uid directory on USB flash. How can i fix this. Offtopic: With Gnome 3 i have feeling that my hands are tied.
View 3 Replies View RelatedI just used photorec to recover files from a 40GB laptop HDD. I saved the files to my video folder in my Home folder. Now my home folder is full. When I login to my computer, in about 30 second I get this error:
Quote: Oh no! Something has gone wrong. A problem has occurred and the system cant recover. Now I tried logging out, restarting, etc etc. Still get the error. I also did
[Code]....
I cant delete the files from photorec because the are protected. And I cant start up firefox or thunderbird
Can I just go in a delete all the files in tmp? Or, do I need to be more careful? I noticed that a lot of flv fragments go in there. I did just delete those because I couldn't see how they could be useful again. What about all the other stuff?
View 9 Replies View RelatedI'm trying to keep a directory full of log files manageable. Nightly, I want to delete all but the 10 most recent. How can I do this in a single command?
View 2 Replies View RelatedI'm setting up a single stand-alone computer in my classroom to be used by my students at the school where I teach. I've installed Ubuntu, as it smashes Windoze out of the court every time.
I want the students to be able to log on to the computer using just one account: 'Student'. This computer will be attached to a printer so they can type up and print oOfice documents,web pages, etc. However, once they log out, I want any files they might have saved (such as a word processed document) to be removed/deleted from the account so that when another pupil logs on to the 'Student' account they start with a clean slate. I suppose you could call it a sort-of Kiosk account.
How can I get Ubuntu to clear any saved documents on log-out?
I am using Ubuntu 10.04. I have a small HDD and I noticed that the weight of the folder .Trash-0/lost+found on my computer was of 2.6 gb.
I tried to delete the files in this folder, but it seems impossible. Even with using sudo I can't delete them because I am not authorized to do so. The files in the folder are quite weird, there are folder and files named like this: #7614692, #7613635 etc. Their groups and their users are also quite weird: -1933023744, 1624453254... Even from a live cd it is not possible to delete them. Also the date of the files is ****ed up, example:
- last access: "mar. 13 juil. 1943 15:26:11 CEST"
- last modification: "mer. 12 oct. 2022 15:59:51 CEST"
I recently upgraded this partition from ext3 to ext4, so I would guess that it comes from here. But I don't know if these files where there before or not.
I've got a computer with numerous media files,(video and music). It's a dual boot Windows XP , Ubuntu 10.04 install.I use it as a media box for my large LCD TV. I was wondering if anyone else has deleted the Windows system files and program folders and left the media files. Edit grub deleting Windows XP and leaving the large number of media files alone. I don't want to spend the time to backup and transfer, as it would be to time consuming. I don't want to bork the system just to clean out XP.
View 5 Replies View RelatedI have recently done a clean install of Ubuntu 10.04 [and it is all going very nicely unlike some others] on my dual boot Dell Dimension 5100.After seeing some advice about advanced partitioning I decided to expand my partition table during the 10.04 install process from swap, / and /home (where I keep My Documents) to swap, /, /home, /var, /tmp and /usr, all of which was achieved without problem.I am now getting "Low Disk Space" messages on my home partition (488 MB remaining!!!) I have emptied the trash and cleaned up any obviously large but surplus files. (I did find two that concern me but they aren't HUGE and I am unsure of what they do: file-meta.db and file-index.db in /home/john/.cache/tracker/ which are 290 MB and 108 MB respectively, last modified five months ago and something to do with SQLite3.)
Anyway, am I right in saying that my new /var, /tmp and particularly /usr partitions now contain some of what was previously held on / and /home, leaving old files that can be removed? If so, what is now surplus and how do I delete it safely? I had a bit of a dig but, as the properties in Nautilus of, for example, /usr do not indicate what partition it is on, I can't safely tell what is current and what is old.
i have a pen drive that has two mp3 files.i am unable to delete the files as they appear again and again how can i format the drivee using dd command
View 2 Replies View RelatedI have a few files on my desktop that have a lock on the top right corner of the Icon like this..
How do i delete it? it tells me that i do not have sufficient permission to delete this file..
how do i delete any single one of the files in my whole disk that say something along the lines to "chromium os"? i.m just wondering because i tried to install through virtual box and failed, and probably have three different partitions consisting of nothing.
View 3 Replies View Relatedhow can i delete my log files? They are 131.2 GB! And i need space on my pc . And is it ok to delete it ?
View 6 Replies View RelatedI 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 make a long story short, I have an mp3 player, when it is connected to ubuntu I have RW access. However when i delete it, it goes to Trash, where some-why I can not delete it so i run out of space. So my question why, and how do i get ride of these files?
View 4 Replies View RelatedAlthough I've been using Ubuntu for a while, I haven't really done any scripting thus far,but now find myself needing to do (what I thought was) some fairly simple stuff.However, despite much searching, I have been unable to find a solution to my problem.I need a script which will delete all of the files/folders from a directory except those I specify. From the command line, I am able to use:rm -r !(constant|system|*.msh|)
which works fine, deleting everything except the 'constant' and 'system' folders (and everything in them) and any files ending in '.msh'. I have tried to put this into a script file, specifying to use the bash shell, and escaping the required characters, but I just get the message 'cannot find !(constant|*.msh)'.I have read that using the find command may be a better way of doing it, but so far I have not been able to make the command work in the way which I need (I have easily been able to delete ALL the files/folders in the directory!).
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
View 3 Replies View Related