Ubuntu :: How To Delete The Contents Of This File.

Mar 23, 2010

/root/.local/share/Trash/files/I have a tar backup file in there and can't get rid of it. I've tried from root with Nautilus, the files disappear for a couple of seconds and then reappear.

View 7 Replies


ADVERTISEMENT

Ubuntu :: Delete #SharedObjects Contents?

Oct 25, 2010

Instead of using the Firefox Better Privacy addon or the Macromedia website to manage Flash Cookies (LSO's), I would just like to periodically, delete the ~/.macromedia/Flash_Player/#SharedObjects directory.

View 1 Replies View Related

Debian :: Delete All Contents Of /var/cache/man?

Feb 13, 2011

I try to build live usb-hdd on my Lenny and get this problem:

Code:
# lh_build
..............................................................

[code]...

View 1 Replies View Related

General :: How To Delete All Folders And Their Contents Except 3

Jan 28, 2010

I have a USB drive that has a TON of folders on its root level. I want to remove all those folders and their contents except three of them. I know if I do rm -rf that will kill everything, is there a way to exclude three folders, say folder1 folder2 newfolder, and do it all in one statement?

View 3 Replies View Related

Ubuntu :: Delete Desktop Folder Without Deleting Contents

Oct 7, 2010

Im assuming there is a simple answer for this but I have yet to find it in forums. I have 2 partitions mounted on my ubuntu desktop, one is Windows C: drive labeled "Core" and the other is D: drive labeled "Reserve" but for some reason I have a second Windows folder on my desktop, when I attempted to delete it it began to delete the Windows files as well, one forum said to right click and "remove from desktop" but this option isnt in the menu. How can I just delete the folder?

View 2 Replies View Related

Hardware :: Unable To Format Pendrive - Delete Contents

Nov 18, 2009

I purchased new Kingston Datatraveler 32GB Pendrive after i copied some of the files into that around 2GB.

But whenever iam trying to delete those content it is giving the following error. Readonly file system actually it is not.

I tried the same in windows and linux.

Is there any way by which i can delete the content or format the pendrive.

By using the command

Now I want to forcefully format the pendrive or is there any tool or utility which will help me to format the USB.

View 8 Replies View Related

Ubuntu :: Delete File - No Right Click Delete Option?

Feb 18, 2010

Why is there no Delete when I right click like there is with Windows in ubuntu? Pretty much everything else is there like new folder and so on Is there some way to add it? Also why when i delete something does it not ask me if I am sure that i want to delete that file?

View 6 Replies View Related

General :: Delete "locked" Folder And Contents?

Apr 18, 2010

i locked a folder of pictures on my linux and now want to delete them, but it wont even let me open the folder or do anything with it, what do i do to unlock it then delete i

View 5 Replies View Related

Software :: Check The Contents Of A Text File For A Specific String And Remove It From The File From The Command Prompt?

Oct 14, 2010

I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.

View 4 Replies View Related

Software :: Overwrite The Contents Of A File Without Changing The File Size?

Jul 12, 2010

We have some large files with sampling data in it. Don't want to delete these files. But want to quickly overwrite the file with 0s and/or 1s and preserve the original file size.

View 3 Replies View Related

General :: Replacing A String In A File With The Contents Of Another File?

Jun 15, 2010

I would like to know how I can replace a string in one file with the complete contents of another life.

View 10 Replies View Related

Programming :: Append Contents Of One File To Another Existing File?

Nov 17, 2008

I have two files list1.cfg and list2.cfg both files contains differentrecords details like

List1.cfg
NAME1:25:C:NAME LINE1:
NAME2:25:C:NAME LINE2:
CITY:25:C:City:

[code]....

Now I want to append contents list2.cfg to list1.cfg(It ispposible using cat list2.cfg >>list1.cfg) but I want to check if content of (record) in list2.cfg is present in list1.cfg then dont append it otherwise append it.

View 1 Replies View Related

General :: Grep The Contents Of A File With Another File?

Sep 25, 2010

someone once told me that use can pass a file to grep and use that to search the contents of another file. if that is the case I'm not entirely sure why the following isn't working for me.

Code:

[root@LCENT01:~]#grep -i id_rsa.pub .ssh/authorized_keys
[root@LCENT01:~]#cat id_rsa.pub >> .ssh/authorized_keys
[root@LCENT01:~]#grep -i id_rsa.pub .ssh/authorized_keys

View 3 Replies View Related

Programming :: Check If File Contents In Another File?

Nov 4, 2009

i am trying to write a bash script. i have a text file called comp2.tmp which has a list of items in it

example comp2.tmp

Code:

filename.pdf
filename2.zip
filename3.ttf
and so on

I have another text file called comp1.tmp which should have the same list of files in it, but does not look as pretty

example comp1.tmp

Code:
someothertext here ...... 10/30/2009 ...... filename.pdf
=========================------------------==============
othertextagain .......... 09/28/2008 ...... filename2.zip
========================------------------===============
bunchmoretext ........... 04/12/2005 ....... filename3.ttf
and so on

i would like to check if the filenames listed in comp2.tmp exists in comp1.tmp

View 3 Replies View Related

General :: Ubuntu - Can't See Contents Of File

Jul 29, 2010

In Ubuntu 10.04, there is a certain file that appears highlighted in terminal. When I try to cat the file, it says there is no such file or directory. How can I see what's in this file? Is this a symbolic link?

View 1 Replies View Related

Ubuntu :: Print Out The Contents Of A File?

Feb 24, 2010

how do I print out the contents of a file?

View 4 Replies View Related

Ubuntu :: Way To View The Contents Of A .dsk File?

Apr 30, 2010

EDIT:SOlved, I'm trying to figure out how to delete this

View 1 Replies View Related

Ubuntu :: Touch Contents Into A File?

Sep 1, 2011

I know that I can do something along the lines of

Code:
touch /var/www/index.html | echo "echo some contents" >> /var/www/index.html
but would like to do this without having to specify the directory again with echo, and maybe even use linebreaks / tabs on the echo in. Anyone know a neat one liner?

View 6 Replies View Related

General :: Delete Top Level Directory And Have Contents Simply "move Up A Level"?

May 27, 2010

I have a directory that has a another directory inside it. The top directory is rather redundant since it only contains the one other one. Is there a way to delete the top level directory and have the contents simply "move up a level"?

View 6 Replies View Related

Ubuntu :: List Folder Contents To Text File

Feb 8, 2010

How to list the contents of a folder to a text file. I'm trying to list all my music, including all subfolders, etc. to a text file, but I can't remember the command.

View 3 Replies View Related

Ubuntu :: Use Nautilus To View The Contents Of The Bootloader File?

Apr 6, 2010

Is there somewhere that I can view the contents of the bootloader using nautilus?

View 2 Replies View Related

Ubuntu :: View Contents Of Initrd.lz File On Live USB?

Sep 7, 2010

What command do I need to use to view the /casper/initrd.lz file on a live USB? Here's what I know about initrd.img in /boot on standard installations:

Code:
zcat /boot/initrd.img-2.6.xx.xx-generic | cpio -iv
Now, what's the equivalent for initrd.lz files?

View 2 Replies View Related

General :: Listing Of Zip File Contents Using C?

Oct 20, 2009

how to do the listing of zip file contents using C?

View 1 Replies View Related

General :: Reading Contents Of PDF File?

Jun 8, 2011

is there any API to read content of PDF file & store it in buffer?

View 14 Replies View Related

Software :: Changing Contents In TGZ File

Feb 1, 2011

I'd like to change contents in a *.tgz file. I can uncompress (extract) using:
Code:
tar xzf archiv.tgz
and I get these 3 directories:
Code:
etc
install
usr
How to compress back to a tgz file?

View 2 Replies View Related

Software :: Tar.gz File Is MUCH Bigger Than It's Contents?

Sep 30, 2010

I have created an incremental backup of a Windows-client folder on a SLES 11 server using find and tar. The resulting file is about 615 MB, but inside the archive is only one file which has a file size of only 9.061 Bytes. BTW: it's a "The Bat!" config fileHere's the backup script:

Code:
Configuration
BACKUPFILE1="/<some_name>/Thunderbird"

[code]...

View 1 Replies View Related

Programming :: Locate A File By It's Contents?

Jul 16, 2011

A long time ago I wrote a short essay about the 'federal' 'reserve' board. I don't remember it's name or format. I think it's somewhere on my rather large hard discs (to of them divided into various partitions).I'm trying to write a command line that will find it based on a quote that is in it: "our fathers brought forth"I have tried various configurations of grep, and or combining grep with find, but I'm getting nowhere. I really don't understand the syntax of either command, or how they work together, and the examples that I can find are really no help at all.

View 6 Replies View Related

Programming :: Read The Contents Of A File?

Jan 11, 2010

I am trying to read the contents of a file into something else. I have a file.txt that I am working with, I want to read the file and take the data and run some commands with the data that it read. So if it read www.yahoo.com I want to be able to nslookup. Does that make sense? I have been trying to use the read command but that does not seem to work. I even was trying to read filename | > filename to see if I could even read any of the data at all. Nothing is working.

View 8 Replies View Related

Ubuntu :: Grub File Not Found - Try To View The Contents Says Do Not Have The Permissions

Apr 27, 2010

I already had ubuntu 32 bit version 9.10. but due to some tool compatibility reason I need even the 64 bit version 9.10. I dint want to delete 32 bit version so I wanted to install both on my system. I have windows vista as well.

So I booted with 64 bit version of Ubuntu, went on with the installation, until the point were it asks to choose the partition. 32 bit version had 16GB allocated and 10GB free. so I thought I will make new 8GB partition from the 10GB free space. So I selected the partition and clicked on change, and specified 8GB and ext4 format and mount point as "/". I clicked on continue and in a few seconds it popped up with an ERROR message, which I can't remember exactly, but it meant to say that it could not make the changes as the disk to which the changes were made is in use. So I should not use it until I reboot. So I rebooted and now I have grub error : file not found and grub rescue> prompt.

I tried to boot with the 64 bit CD again with the option of trying ubuntu without making any changes and it does show the 16 GB partition, but when I mount that partition I do not see any folders in the partition except for a folder named "lost+found". I try to view the contents of this and it says I do not have the permissions.

View 3 Replies View Related

Ubuntu :: Cannot See Folder Contents Using Standard File Browser Interface

Nov 5, 2010

I downloaded a FLAC album from a band's label.The weird thing is that I cannot see the folder contents using the standard file browser interface.However, VLC can see and play the files without problem.I don't believe the files have any sort of DRM, but they are legal, FWIW.

View 4 Replies View Related







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