Ubuntu :: Cleanup Script Which Will Clean All Trash Folders

Dec 20, 2010

its basically a cleanup script which will clean all my trash folders..

n run
apt-get clean
apt-get autoclean
apt-get autoremove..

how can i do so?

View 9 Replies


ADVERTISEMENT

Ubuntu :: Any Way To Clean Up Trash (Packages)

May 8, 2010

I downloaded and installed k3b from the software center and remember seeing that after it was installed, an additional 180MB would be taken up. so the installation process took about 2-3 minutes after unpackaging or whatever it does. But when I went to uninstall it, it took like 2 seconds. Is there a way to clean up packages that hasn't been uninstalled all the way or haven't been used? Is that normal?

View 4 Replies View Related

Ubuntu :: Trash Is Full Clean Manually?

Aug 21, 2011

I got this error message when i tried to delete a video. i have cleared my trash bin but i still get this error message.

View 2 Replies View Related

OpenSUSE :: Open The Trash To Clean It?

Sep 3, 2010

How can I open the Trash to clean it??

I am using KDE4.5 in openSUSE11.2

View 2 Replies View Related

General :: Clean Or Emptying Trash Does Not Free Up Enough Space For Updates

Sep 25, 2009

This message comes up when I try to upgrade. The upgrade needs a total of 400M free space on disk '/'. Please free at least an additional 394M of disk space on '/'. Empty your trash and remove temporary packages of former installations using 'sudo apt-get clean'.

View 2 Replies View Related

Ubuntu :: "clean Up" Script - Clear Trash From Command Line?

Feb 28, 2010

I'm looking to make clean up script. I need it to,

Clear ALL Private Data in firefox
Clear Recent Doc's
Clear Trash
Clear Thumbnail folder

I know how to clear the trash from the command line and also the thumbnail folder. I tried to google how to clear firefox but the files to delete seemed to have changed from older versions, they seem to be sqlite files and also I'm unsure which ones to remove. how to clear recent doc's but all the guides seem to be to be for GUI.

View 5 Replies View Related

Ubuntu Security :: Clean Mask For Files And Folders Through Samba

Feb 9, 2010

Still working on the mask of files for shared folder. I now have a shared folder with the exact behavior I expect :
Code:
sudo addgroup share_group
sudo mkdir /media/volume/shared_dir
sudo chgrp share_group /media/volume/shared_dir
sudo chmod g+s /media/volume/shared_dir
sudo chmod 770 /media/volume/shared_dir
sudo setfacl -d -m group::rwx /media/volume/shared_dir
sudo setfacl -d -m other::--- /media/volume/shared_dir
emma@box:/media/volume/shared_dir$ ls -al
total 8
drwxrws---+ 2 root share_group 4096 2010-02-09 12:53 .
drwxr-xr-x 8 root root 4096 2010-02-09 11:58 ..
-rw-rw----+ 1 emma share_group 0 2010-02-09 12:53 test
By default, user from the group can modify this file. That's perfect.

I have define the share in Samba this way :
Code:
[share]
comment = Shared Folder
path = /media/volume/shared_dir
browseable = yes
guest ok = no
read only = no
hide dot file = yes
# force group = share_group
# create mask = 0660
# directory mask = 0770
# force create mask = 0660
# force directory mask = 0770

When drag & dropping a file in this share, here is the default mask:
Code:
emma@box:/media/volume/shared_dir$ ls -al
total 192
drwxrws---+ 2 root share_group 4096 2010-02-09 12:54 .
drwxr-xr-x 8 root root 4096 2010-02-09 11:58 ..
-rw-rwx---+ 1 emma share_group 6148 2010-02-09 12:54 .DS_Store
-rw-rwxr--+ 1 emma share_group 176684 2009-12-21 23:33 IMG_7487.jpg

So the dropped file have execution rights for the group, and read access for other. I expected it to have the same rights than the file created directly using the touch command. I tried to play with the mask options, without success. The file has been dropped from my mac, which is a Unix like OS. I guess that some authorization access are inherited from the original file, for the user and other parts. But where does the group authorization come from ? Moreover, is is possible to define in samba a default mask, whatever the authorization of the original file?

View 1 Replies View Related

Fedora :: Trash Does Not Show My Files/folders I Moved From NTFS Windows Drive

May 25, 2011

I am an Ubuntu refugee. Allow me to explain what happened. I am dual booting with Windows 7 and F15 x64.

(1) I wanted to created a shortcut of my "Documents" folder in my Windows in Nautilus
(2) I opened the Windows drive by double clicking the drive under Devices, and navigated to my "Documents" folder (F15 already has ntfs-3g installed so no hassles there)
(3) I then dragged the folder to the sidebar to place it under the Trash icon--but for some reason, it would not let me do this, and accidentally got placed in the Trash bin.
(4) problem is I can't see this folder in the Trash bin (it is not even hidden)
(5) To check if the Trash bin actually captures items when we move files/folders to Trash, I tried sending a folder from my Home directory to Trash, and the folder appears in the Trash; it can even be restored to Home.
(6) Only files/folders from the NTFS formatted Windows drive do not appear in the Trash folder if sent there.
(7) I have Google searched this problem, but to no avail.
(8) I even thought that because the drive is not mounted 'officially' I would mount it using command line:

Code:

(9) But still I can't see the folders in the Trash
(10) Interestingly, when I try to unmount the Windows drive 'formally' then I get a message if I want to "empty the Trash"--I obviously chose not to--so I know there is my Windows Documents folder in there somehere.

View 2 Replies View Related

General :: BASH Script To Move Files/folders To Either The .Trash File Or To Another Direcotry?

Dec 2, 2010

I am looking for a script/advice or guidance on how to write a script so that when I use the 'del' command it removes/sends the files/folders to a I specify for example 'dustbin

View 13 Replies View Related

OpenSUSE :: When Move Something To Trash It Doesn't Show The Option Of Empty Trash

Mar 12, 2011

When I move something to Trash it doesn't show the option of "Empty Trash". I can use "move to Trash" and it just moving there like some ordinary folder, but shift+del give me an option for deleting the files. Using OpenSUSE 11.3 32bit.

View 6 Replies View Related

Ubuntu :: Files In Trash But Not In Trash?

Dec 24, 2010

I have a problem with a couple of folders in the Trash. If I click on the Trash icon, 2 foldersare there, and when I try to delete them, it just says "Failed to delete the item from the trash"

But when I go to .local/share/Trash there are no files there! Anyway, I tried using the command "sudo rm -rf .local/share/Trash", it shows no error, but the files continue when I click in the trash icon.

View 9 Replies View Related

Fedora :: 14 - Printer HP Deskjet D1460 And - Paper As Was Clean So Clean And Remains

Dec 18, 2010

I have problem with my printer HP Deskjet D1460. My printer is configured and works. When I send a file on the print, the printer clings a sheet of paper and starts to print, but a paper as was clean so clean and remains, after printing.

View 2 Replies View Related

OpenSUSE Install :: Configured Cron To Clean /tmp Directory - Add Other Locations To Clean And Especially /var/tmp?

Oct 11, 2010

I configured cron to clean my /tmp directory, should I also add other locations to clean and especially /var/tmp.

View 4 Replies View Related

Ubuntu :: Difference Between Apt-get Clean And Aptitude Clean

Feb 4, 2010

Is there any difference between apt-get clean and aptitude clean? Do they both remove the same caches? Should I know any other commands for cleaning up wasted space on my ubuntu laptop?

View 1 Replies View Related

Ubuntu Installation :: App Cleanup And 10.04 Will Not Boot

Aug 26, 2011

I have installed Ubuntu 10.04 on a Dell Inspiron 1300 laptop. After installing many apps and finding I didn't need some, I did some cleanup. I must've cleaned too much because now Ubuntu won't boot. On boot, I see the Ubuntu logo with the five dots under it. The dots change color as if something is in progress, but it won''t get beyond that. I am relatively new to Ubuntu and I want to stay with it because it's an excellent system. I have worked extensively with Unix in the past but not with a GUI front-end.

View 1 Replies View Related

Ubuntu :: Lost Boot Option After Windows Cleanup?

Jul 29, 2010

A Microsoft anti virus program (Security Essentials) cleaned out a bunch of problems in Windows XP and now I don't have the double boot option any more. What do I change to get Ubuntu option back? OH, I also had to do a checkpoint restore prior to that but it was after I had installed Ubunto (I think). Which leads me to ask....how do I identify the Ubuntu disk space I allocated at install time? I can't seem to find it.

View 9 Replies View Related

Ubuntu :: Sda1 Full, Cleanup Commands Not Working

Oct 25, 2010

I have had the same problem of /dev/sda1 becoming full and have been able to fix it with the commands:

sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade

But this time I am still unable to free significant space. Here is the output of various commands.

df -h
/dev/sda1 5.6G 5.4G 0 100% /
varrun 498M 108K 498M 1% /var/run
varlock 498M 0 498M 0% /var/lock
udev 498M 76K 498M 1% /dev

[Code].....

View 1 Replies View Related

Ubuntu Networking :: No Internet Access After Security Cleanup?

May 17, 2011

i installed many security programs as a switching from windows guy and decided to get rid of them last night. I uninstalledgufw, clamav(and all based packages), firestarterusing synapticbefore i rebooted the system the internet was well and working. but after i rebooted i had no internet access;firefox couldn't retrieve, update manager and apt-get couldn't connect.the computer knows it's connected to the router i see the connection established sign but I can't even connect to the router by typing "192.168.2.1".the computer can ping itself(127.0.0.1) but can't ping itself in the network (the dhcp address is 192.168.2.3) and replies "operation denied" or something like that.I rebooted using live-cd and connected with no problems; the my internet connection is fineany thoughts will be appreciated P.S.: I did a fast check on the forums and couldn't find anything related; i didn't check thoroughly though.

View 4 Replies View Related

Software :: Test / Cleanup Program For Ubuntu System?

Apr 9, 2010

Have Ubuntu & it was working well, but has become slow, 'greys out' on me regularly - eg. pic loses colour & nothing will respond for a few or more seconds. Also 'Ubuntu Software Centre' & "Synaptic' thingy come up with errors, saying can't install or uninstall progs. Although it seems they may do it OK despite saying they can't. Have Computer Janitor installed, but this is no longer working at all. So... is there a program or such that I can use to test/clean out the system?? For that matter, is there a program for testing hardware, as I'm not sure if it's an indication of unhealthy hard drive or such?

View 1 Replies View Related

Ubuntu :: Tar: Var/spool/postfix/public/cleanup: Socket Ignored

Jan 21, 2010

Is there an alternate tar package for Ubuntu that supports sockets and such? I know there is in Slackware, which I use when I'm doing stuff on Slackware.

View 2 Replies View Related

Ubuntu :: Tool Similar To Windows Defrag - Disk Cleanup?

Jul 8, 2011

Does Ubuntu have any tool similar to Windows defrag or disk cleanup that cleans up your hard disk and clears up some space?

View 4 Replies View Related

Red Hat :: LVM Cleanup Process - Two RAID Arrays On Storage

Jan 3, 2010

I am in a situation where I am stuck with a LVM cleanup process. Although I know a lot about AIX LVM , but this is first time I am working with Linux LVM2. Problem is that I created two RAID arrays on storage, which appeared as mpath0 & mpath1 devices (multipath) on RHEL. I created logical volumes and volume groups and every thing was fine till I decided to clean the storage arrays and ran following script:

#!/bin/sh
cat /scripts/numbers | while read numbers
do
lvremove -f /dev/vg$numbers/lv_vg$numbers
vgremove -f vg$numbers
pvremove -f /dev/mapper/mpath$numbersp1
done

Please note that numbers was a file in same directory, having numbers 1 and 2 in separate line. Scripts worked well and i was able to delete definitions properly (however I now think I missed one parted command to remove the partition definition from mpath device. When I created three new arrays, I got devices from mpath2 to mpath5 on linux and then I created vg0 to vg2. By mistake, I ran above script again for cleanup purpose and now I got following error message

Cant remove physical volume /dev/mapper/mpath2p1 of volume group vg0 without ff[/B]

Now after doing mind search, I now realize that I have messed up (particularly because mpath devices did not map in sequence to vg devices and mapping was like mpath2 --- to ---- vg0 and onwards). Now how I can cleanup the lvm definitions? should i go for pvremove -ff flag or investigate further? I am not concerned about data, I just want to cleanup these pv/vg/lv/mpath definations so that lvm can be cleaned up properly and I can start over with new raid arrays from storage?

View 1 Replies View Related

CentOS 5 :: How To Cleanup Root File System

Jan 31, 2010

I have a problem that is probably simple, but have not yet found the answer on any forums or by Googling. First my system specs:Tyan 2610 motherboard w/ 2 x PIII 9334 gig PC133 SDRAM
1 x 5 gig hd (system)4 x 500 gig hds w/ 3Ware 7500 controller set to RAID 5, (1.5 TB) mounted as /homeCentOS 5.3 running my smb and nfs mountsMy problem is that I have run out of space on my / (root) file system, (the 5 gig). Since I am planing to rebuild my file server with larger hard drives, (2 x's 60 gig SATA's set to RAID 1, 6 x's 1.5 TB at RAID 5), within the next 2 months, I would like to try to clean out any unneeded crap rather than adding a hard drive and expanding my root file system. I have done the following:

Removed old unused kernels
cleaned up /var/log/
cleaned up /tmp

[code]....

View 8 Replies View Related

General :: Syslog Format - Cleanup Code Starts

Oct 6, 2009

I am using vsyslog() function in my application to write logs to syslog. I could see the logs in /var/log/syslog as follows.

Oct 6 11:25:23 machine application [4544]: cleanup code starts

What is this number [4544] stands for?

View 2 Replies View Related

Fedora Servers :: Package-cleanup Showing 13 Orphans That Are Still In Repo?

Mar 24, 2009

I recently upgraded two servers to F10 from F9 and one of them is having an issue where package-cleanup is showing 13 packages which are incorrectly orphaned (no longer in the repo). Has anyone seen this before and know how to resolve this? Is it simply because the packages are listed in the repo as "fc10" vs "fc9"?

[root@athena ~]# package-cleanup --orphans
Setting up yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* updates: mirror.cogentco.com
* fedora: mirror.cogentco.com

[Code]...

View 7 Replies View Related

Fedora :: Cleanup Installed Packages - Running Of Disk Space?

Nov 25, 2010

Is there an easy way to see what packages use the most disk space? I am running of disk space and need to cleanup.

View 1 Replies View Related

General :: In Ubuntu 9.04 - Mount The Different Folders On The Partition To Different Folders In Home?

May 12, 2010

I have a shared NTFS partition ("shared") that I use for data for both Windows and Ubuntu. How can I mount the music folder on shared to $Home/Music, and the Videos folder on shared to $Home/Videos? I want to mount the different folders on the partition to different folders in home.

View 2 Replies View Related

Ubuntu :: Hiding Folders Inside Of Shared Folders?

Mar 27, 2010

I am setting up a lubuntu nas with all of my music, movies, etc on it. I want to give my kids access to my mp3 directory, so I can move all of the kid appropiate music into the root of my mp3 dir, in the same order I have all of my music sorted. Under the Music folder, I have them sorted, in folders, by letter. So A, B, C, D, etc... Now, in those folders are the respective artists. So where there may be something approipate in the P folder (say, Paramore), there is something inapproipate (say, Pantera)Now, when the kids go to the P folder, I don't want them to even see the Pantera folder. I just want them to see the Paramore folder. I tried a test using chmod 711 and chmod 700 on a directory with a test user, and the user can't access the directory, but can still see it

View 3 Replies View Related

Ubuntu :: Linking Content Of Windows Folders To Folders

Mar 31, 2010

The Problem was I wanted to open my /home/Pictures folder and have it display the contents of the My Pictures folder in my windows partition. This way I could have ubuntu and xp using the same set of music files, picture files, etc. I was having a very hard time understanding how to get from here to there because I'm such a newbie. However I have discovered how to do it and I wanted to post it, in hopes it will make things easier for other newbies.This allows me to see every TYPE of document in /dev/sda8/Media (windows My Documents folder) without having to see any of the folders (My Music, My Pictures, etc).

View 1 Replies View Related

Fedora Installation :: What To Do After "package-cleanup --orphans"

Jun 13, 2011

[root@clarice ~]# package-cleanup --orphans I got this: Loaded plugins: langpacks, presto, refresh-packagekit

[Code]....

then I tried: yum remove device-mapper-1.02.63-2.fc14.i686 and got 387 packages with many fc15 items I said "N" to yum...obviously

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved