General :: Deleting Iframes From Files

Apr 25, 2009

my website was recently infected with this stupid malware lotultimatebet .cn...there is a hidden iframe on almost all the 6000 pages of my site.can you please advise, if it is possible for me to remove this line from all pages by executing some command?

View 1 Replies


ADVERTISEMENT

General :: Deleting All Files From Directory Except For Two

Nov 25, 2010

I'm writing a Perl script which performs linux commands.I have a directory with a load of files.

Code:exec_cmd('rm $(ls * | grep -v file1)');
This command will delete all except for file1. How can I modify this to delete all files except for file1 & file2?

View 2 Replies View Related

General :: Deleting Files By Date

Nov 5, 2009

I had a program run riot and it has created hundreds of spurious files in one directory. Fortunately they are all dated 4th November so are easily identified. What bash command can I use from the console to delete them all?

View 2 Replies View Related

General :: Rsync Not Deleting Files On Target

Sep 8, 2010

I'm using the command below to sync two directories. Problem is insted of deleting the files on the target directory it simply appends a ~ character at the end of the file name. Not sure why this is happening?I'd like to have all deletes on the source replicated on target.

View 2 Replies View Related

General :: Deleting Files Older Than 1 Hours

Sep 8, 2009

on my site now I'm using cache and need me cron script that will delete files older than 1 hour I have feature in my kloxo control panel just need me the command .

View 2 Replies View Related

General :: Deleting Lines From Text Files

Sep 17, 2009

Is there anyway to delete certain paragraphs within a text file and then insert the paragraph into another text file.I just cannot figure out how to remove the specific lines from the file and then insert them into another file at a certain line within that new file. Thanks again

View 10 Replies View Related

General :: How To Delete All Files In Directory Without Deleting?

Feb 9, 2010

I know that rm -i will prompt wether you want to delete each file.But rm -i -r will prompt for each file in each subdirectory recursively. How to make it prompt just for the directory itself, and then delete its contents without asking?How to delete all the files in a directory without deleting . and ..?How to recursively delete all tilde files in a directory?How to GUI file managers delete files to Trash? Where is this "Trash" located? Can you delete to trash in the command line?

View 14 Replies View Related

General :: Deleting Files On USB - Input / Output Error

May 4, 2009

[root@localhost media]# ls UMESH
[root@localhost media]# cd UMESH/
[root@localhost UMESH]# ll
ls: cannot access ejb: Input/output error
total 0 d? ejb
[root@localhost UMESH]# rm -rf ejb
rm: cannot remove 'ejb': Input/output error
[root@localhost UMESH]# ll
ls: cannot access ejb: Input/output error
total 0 d? ejb
[root@localhost UMESH]#

The privileges for root for UMESH are as below:
[root@localhost media]# ll
total 4
drwxr-xr-x 3 vickey root 4096 1970-01-01 05:30 UMESH
[root@localhost media]#

Also I can't even paste a file in the USB.

View 7 Replies View Related

General :: Rsync Deleting Files From Destination Directory?

Jul 14, 2011

We have an rsync cron job set up to mirror all the files in a "..dashtdocsdocs" folder to the same folder on another server. It copies all the files over correctly and deletes any files in the "docs" directory that aren't in the sending directory, but it also deletes any files we put in the target directory's parent folder (..dashtdocs or other subfolders like ..dashtdocsimages) even though they've been excluded in the .rsync-filter file.

Here's our current rsync .sh:

/usr/local/bin/rsync --stats -qPzrtpl --delete --password-file=/var/run/.appprodrsync --log-file=/export/home
/webuser/logs/rsync-extranet-log -FF /export/home/ appprodrsync@appprod::dprweb_extranet/ > /export/home/webuser/logs/rsync-extranet-output 2>&1

[code]....

So for example server A has ..dashtdocsdocs and ..dashtdocsimages. Server B has ..dashtdocsdocs but if I manually copy the images folder over to ..dashtdocsimages, the images folder gets deleted from the target directory every time rsync runs.

A: ..dashtdocsdocs
..dashtdocsimages
B: ..dashtdocsdocs
..dashtdocsimages (<-- gets deleted everytime rsync runs)

I'd like to keep just the docs directory synched and update other folders manually, but they keep getting deleted. It looks to me like it's running a delete-excluded option, but that option wasn't used.

View 2 Replies View Related

General :: Manually Remove .vdi Files Left Over After Deleting VirtualBox?

Oct 24, 2010

I have a question, that may sound silly. I have removed VirtualBox from my Ubuntu install. But the .VirtualBox folder is still existing with a virtual drive of nearly 10 GB. Can I manually remove the folder .VirtualBox with rm -rf without any unwanted side effects?

View 2 Replies View Related

General :: Del Command To Remove Files To Directory Instead Of Completely Deleting Them?

Dec 2, 2010

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 1 Replies View Related

General :: GUI Application For Finding / Deleting Duplicate Data Files

Jan 10, 2011

I copied a back up of my windows 'my documents' fold and all of its' sub folders into my linux (Mint Debian) Documents directory. I found that many of my files can be found in more that one directory so, what I want to do is to find all the dups and deal with them. Is there a good linux application to resolve this 'duplicates' problem. (I don't want to touch the linux system files.)

View 2 Replies View Related

General :: Deleting Files In Ubuntu Doesn't Free Up Space On Partition

Dec 22, 2009

After running photorec I went from having ~30 gb of free space to having 0 bytes of free space. I have deleted all the results of photorec and various other large files and removed them from trash but it still has not freed up any space. Also, my firefox no longer has back/forward functionality which I'm sure would be fixed by a reinstall but seeing as I have 0 space, I can't really do that. Any thoughts?

View 7 Replies View Related

Ubuntu One :: Deleting Files From Web Interface Erase Files From Computer?

Nov 27, 2010

Does deleting files using the Ubuntu One web interface delete the files stored on my computer?

View 1 Replies View Related

General :: "Argument List Too Long" - Deleting Files Based On Grep?

Jan 28, 2011

I've got a directory with thousands of files and I want to delete those that contain specific text.When I try:Code: ls | grep -l "specific text" * | xargs rm I get the error: Code: /bin/grep: Argument list too long Is there an easy way to get around this without having to move files into seperate folders and processing them in batches? I found an article on getting around this problem, but I'm kind of new to Linux and don't know how to apply this to my specific problem.

View 3 Replies View Related

Software :: Deleting Delay From Mp3 Files?

Mar 26, 2010

I have a large collection of CDs that I ripped to mp3 a few years back. I would like to go sell them to a store and get some money for them (I haven't used the physical CDs in years). The deal is that when I started ripping the CDs, the program I was using would insert a 2 second delay between songs. I would like to know if there is a program/command that I can use to remove this delay between songs. Some of them have 0 delay, so songs that fade into each other sound correct. Other albums have songs that are supposed to seamlessly fade into each other, but they don't because of this delay. Is there any way to remove that delay between songs or do I have to re-rip the CD? Figuring out which albums have that problem and re-ripping the CD is going to take a very, very long time.

View 3 Replies View Related

Fedora :: Tool For Deleting Useless Files?

Aug 3, 2010

I want to get rid of all my useless files. It seems like my hard drive space keeps on shrinking also..& sometimes my PC freezes also..it hard to work on it.. so need a tool that can delete junks out ..

View 14 Replies View Related

OpenSUSE Hardware :: Deleting Files On A USB Harddrive?

Dec 4, 2010

I got an external enclosure to use an old hard drive as a usb external hard drive for backing up files to.mI tried deleting all the files but there are quite a lot that cannot be deleted Nautilus saying "permission denied".

The harddrive had/has ubuntu 10.4 on it.

Do i need to delete all the files & folders from terminal? I'm running OpenSuse 11.3 in gnome. So i've got Gnome Terminal.

View 8 Replies View Related

Ubuntu :: Recursively Deleting Files From Within Archive

Feb 2, 2010

I've got a directory of geographic data with ~2,000 archives. Each archive (e.g. foo.zip) has two files, the second of which I'd like to remove:

Now, I can remove the _num.tif file with the command:

How do I do this with ALL the files in the directory? If I try the -r (recursive) option, that fails with -d.

View 4 Replies View Related

Ubuntu :: Completely Deleting Files & Virtualbox OSX

Feb 27, 2010

It turns out I caught the Linux bug. I'm now completely obsessed with it. Most of the time if I can't get something to work I do a quick web search, and I find the solution to my problem in the first link or three. This is the exception. I wanted to install XP or 2000 using Virtualbox OSE just in case I needed to look up something on Windows or print something off (can't find any drivers for my Lexmark printer). I tried XP first and it gave me an error. Then I tried 2000. At this point I went to delete the program and try again. The first thing I tried was sudo apt-get remove virtualbox. Then when I re-installed it, I still had my settings and partitions on there. I then went to the add/remove programs. Same thing after the third install. I then went to the Synaptic Package Manager and clicked completely delete files (or however it was worded). After the install it still did the same thing as the previous times. When I try and load Virtualbox it says "FATAL: No bootable medium found! System halted.". Also sometimes my pointer will get locked inside Windows. How do I get out of that? The only thing I was able to find was hit CTRL + ALT + Back and it exits both Windows and Linux.

View 8 Replies View Related

Ubuntu :: Deleting Files On A Windows Share

Mar 17, 2010

I am connecting to a Windows 2003 server share from my Ubuntu 9.10 machine. This is not a problem & deleting normal files is fine. What I am actually trying to do is remove a virus from this server. If I have AV software running on the server it is constantly picking up the virus & eventually this kills the server. The AV software is unable to remove the virus on the server, but is able to on desktop machines.Anyway, I thought use Linux to do the job & get the AV software back on the server. No go. I get a permission denied error when trying to remove the files with rm -f "filename"Is there anyway around this? I am reluctant to start the server with the Ubuntu live CD as it is in use as a file server. If I could remove the files manually this would be good.

View 9 Replies View Related

Ubuntu :: Deleting Files On Flash Drive

Jul 8, 2010

When I delete files from my usb flash drive on my Karmic laptop (press del key), the properties of the drive remain unchanged (available space/used space). It looks like the files/folders have been deleted, but when I go to my windows machines, the files and folders are now in a folder marked "Trash".Am I missing a step when attempting to delete the information when connected to my ubuntu laptop?

View 3 Replies View Related

Ubuntu Networking :: SSH And Deleting Files To The Recycle Bin?

Apr 18, 2011

I'm using Ubuntu 10.04. I have set up a pc to act as remote storage. I connect my desktop pc to it. I have done the following:

sudo apt-get install sshfs
sudo adduser fuse
sudo mkdir /mnt/remotedir
sudo chown username /mnt/remotedir
sshfs username@remote_computer_ip:/path_on_remote_comp /mnt/remotedir

(obviously replacing the username and paths with my information)

I can connect to the remote computer however I cannot delete remote files to the recycle bin. What do I need to do in order to delete files to the recycle bin?

View 7 Replies View Related

OpenSUSE :: GNU Make Keeps Deleting Source (intermediate) Files

Aug 13, 2010

I have a strange issue, when I run my build on my modules. GNU make keeps deleting the source *.c files from all of my modules. It says that they are intermediate files, and deletes them. I have the source files declared as such in the Makefile.

C_FILES = file.c

Anyway I can prevent this deletion?

View 9 Replies View Related

OpenSUSE :: Way To Get Rsync To Delete Files If They Were Deleting At Source?

Jun 11, 2011

I have 2 folders that are synced using rsync. Right now if I delete a file in the source folder, the destination folder still retains that file. Is there a way to get rsync to delete files if they were deleting at the source?I could not find anything in the man page.not sure if I'm missing something or if that feature just doesn't exist.

View 4 Replies View Related

Ubuntu :: Deleting Individual Files From Disk Image?

Mar 23, 2010

Recently, I made a disk image of my external hard drive (as it had recently failed). I have yet to get it replaced, so I have a .dd file sitting on my computer. Now, I can mount the .dd file so I can access the files, but I cannot delete any of them. I want to be able to copy the files file by file to my normal folders and delete them from the backup file, as my disk isn't large enough for me to copy them all to the folders and just delete the entire file.

TL;DR = Can I/How do I delete individual files from a .dd backup.

View 5 Replies View Related

Ubuntu Installation :: Deleting Unneeded Upgrade Files

Jul 2, 2010

I just upgraded from 8.04 up to 9,04 but have only 1.5GB left after having about 6GB before the upgrade. Where are these upgrade files saved?

View 2 Replies View Related

Ubuntu :: Accidental Deleting Window Os - Recover Files?

Sep 21, 2010

I installed ubuntu 10.10 beta. But i thought it replaced ubuntu 10.04, well it did but i whiped my whole harddrive instead. Can I recover my window 7 that i once had? I accidental installed my linux using up the whole drive. i have alot of server cfg and other stuff such as pic and document.

View 1 Replies View Related

Ubuntu Servers :: Deleting Files That Meet Certain Criteria?

Jun 21, 2011

I'm here of course because I would like to know what would be the SSH command to issue if I need to delete certain files that meet certain criteria. For instance, in this case, I simply have files that almost bear the same name but still have some very minor differences.

Let me give you an example:
L0619000.log
L0619001.log
L0619002.log
L0619003.log
L0619004.log

Those in bold are those I'd like to have removed, while the "L0619004.log" is obviously to be left intact.

View 3 Replies View Related

Debian :: Cleaning Up Apt/dpkg After Deleting Installed Files?

Mar 9, 2010

I'd like to clean up apt/dpkg so that it doesn't think the package whose files I've deleted is still installed, but when I run:

Code:

apt-get remove --purge linux-image-2.6.32-2.slh.4

I get the following:

Code:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-image-2.6.32-2.slh.4

The package does show up in the list when I run the command:

Code:

dpkg -l "linux-image*"

with "ii" in the 1st column, whatever that means. Should I just rm the matching files in /var/lib/dpkg/info?

View 6 Replies View Related







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