Software :: Automatic Updating Of File On Different Machine / When User Saves File

Mar 1, 2010

I just came back from a meeting with someone wo wants this functionality:When he saves a file on *his* machine, it will automatically get copied onto a server (this is on an office LAN). This is so if there's a virus attack on his machine, he will have an uninfected backup copy.
To make matters worse, the client machines will be WINDOZE. Apparently he's seen this kind of functionality at an office somewhere (he was saying something about "Microsoft" , but my brain has erased that part of the conversation ), and now wants it for himself.

I was thinking about Samba obviously, but the tricky part is doing the copying when the user *saves* a file. This will require hooks into the OS to see when a file is being saved.*If* I manage to persuade him to switch his client machines to Linux (which would be the ideal choice and make life far easier), how would it be done? I'd have to use the File Alteration MOnitor in the kernel, right?Would it be possible to write the copying code in a shell script?

View 6 Replies


ADVERTISEMENT

Fedora :: Geany + Gvfs + F13 When Try To Save, It Saves Empty File?

Aug 11, 2010

after update f12 to f13 geany stopped to work correctly on remote storage (sftp). Geany opens file correctly, but when I try to save, it saves empty file. I tried "notepad" and "gedit", they work good on f13. Geany on f12 worked correctly too.

View 3 Replies View Related

Software :: Only The .html File Is Saves, And Firefox Does Not Make A Folder?

Mar 7, 2011

It's a few days now that I notice everytime I save a page in Firefox, only the .html file is saves, and firefox does not make a folder associated with the page in which it saves the images, etc..Could this be because I installed TOR and the TORBUTTON for firefox?I have, however disabled the TORBUTTON addon from Firefox, and restarted the browserbut the problem persists.

View 2 Replies View Related

Fedora :: Manager Of Pid-file Quit Without Updating File

Nov 22, 2010

I currently install mysql-5.1.53 on my fedora 13 Linux.After I configure all files the mysql service can not start.in the Termial shows:service mysqld start Starting MySQL. ERROR! Manager of pid-file quit without updating file.

or

ERROR! MySQL manager or server PID file could not be found!Starting MySQL. ERROR! Manager of pid-file quit without updating file.

View 2 Replies View Related

General :: Script To Ftp A File To Remote Machine - Log The Output To A File?

Feb 5, 2010

I am using below script to ftp a file to remote machine

Code:

#!/bin/bash
ftp -nv <<EOF
open ${SERVER}

[code]....

When I execute the above file its working fine and displaying output on to the screen. How can I log the output to a file?

View 7 Replies View Related

Red Hat / Fedora :: Attach An Ordinary File As Well As Excel File While Sending Mail To A Particular User?

Dec 21, 2010

How to attach an ordinary file as well as Excel file while sending mail to a particular user in red hat.

View 1 Replies View Related

CentOS 5 Networking :: Allow The User Only See The Size Of The File, And Not The File + Symbolic Links?

Feb 23, 2009

I'm researching about symbolic links been used with samba / CIFS:I'd like that the user that uses a MS-Windows OS could see my shared folder on CentOS 5 and the symbolic links that are inside this folder. Well, it works but, the user will see that the size of the file is bigger than the real file. Apparently, CIFS gets the size of the symbolic link (aproxim.32K) and add it to the size of the file.Example 1: 100KB file, used with shared folder, MS-Windows's user will see 100KBExample 2: 100KB file, used with symbolic link inside a shared folder, MS-Windows's user will see 132KB. (Sym link + size of file)Is there a way to allow the user only see the size of the file, and not the file + symbolic links ?

View 1 Replies View Related

General :: Limit On File Size - Doesn't Allow User To Create File Which Are Greater Than 100Kb

Jun 13, 2011

I was just testing specifying limit on file size to a user and have added the following to /etc/security/limits.conf bob soft fsize 100 This basically should have said not to allow bob to create anyfile greater than 100Kb in size.

But the interesting thing is, if bob already has any file which is greater than 100Kb in size, it even doesn't allow to log him into the system both from console and SSH. Also nothing is logged in logs.. How do I configure it so that, bob can login to the system even though he has any file greater than 100Kb (but doesn't allow him to create file which are greater than 100Kb) ??

View 3 Replies View Related

General :: Transform A File On 1st Machine With A Tool On 2nd Machine In One Line Over Ssh?

Jul 14, 2011

I have some file tools on a mint machine that I would rather not install on my mac laptop. Mainly because of the vastness of apt-get and the low risk of installation failure. Anyway, every so often I have a file that I want to process in place using some remote tool. Both machines can ssh right in to each other so I was figuring there must be some script or tool out there that would allow me to type out something like remote [file] [tool & args] to send my file to the other machine, get it processed, then get it back.

View 4 Replies View Related

General :: Automatic File Movers?

Oct 17, 2010

I have been using linux now for a very short time, and the more I use the more I like, however some things are just too far beyond me to figure out, like scripts, etc... So I do prefer to use GUI apps wherever possible, and I'm using SUSE 11.3I'm looking for a way to automatically manage a folder I use for auto downloads. I'd like to be able to at least:

Move files to another directory based on either the files age i.e. 2 weeks, or the remaining disk space on the disk to initiate a move function. (Preferably the 1st and then the 2nd if necessary)And then a function to lookup similar folder names and put the file into that folder if it exists. (More complex I know, I'm not holding my breath)I've been looking for something like this for some time now and haven't been able to find anything via google

View 3 Replies View Related

General :: SCP SSH Automatic File Transfer?

May 8, 2010

I wrote this script in attempt to set-up automatic file fetch from the server using SSH; I want to collect *.pdf files and would like this to happened automatically. However, when I run below script I keep getting prompted for a password, how to include password in the script and how to export list of transferred files into the log file in txt format

scp root@192.168.1.1:/var/www/html/Apps/*.pdf /media/DataBackup/Linux/imported/ &>/home/denis/Logs/remotefilefetch.sh.out

This script works to a point, however I am prompted for a password and log file is created but remains empty.

View 3 Replies View Related

Ubuntu :: Automatic File/Folder Nightly Backup?

Feb 2, 2010

I have been looking around online and I am seeing that there are several solutions for doing a nightly automated backup on Linux. I was wondering what people here actually use for doing such and why they use one particular backup method over another.

What I am looking to do is every night (at say 3am) I want my system to backup my 200gig Documents folder to my external hard drive. Does Ubuntu have a tool built in by default to do this or do I need to add something from the repos/online?

View 1 Replies View Related

Ubuntu :: Automatic File System Repair On Boot?

Oct 4, 2010

I'm using Ubuntu Lucid and any sudden power loss will usually cause problems with the file system. When I bring the computer back up, Ubuntu will then scan for errors at boot-time and if any errors are found it prompts me to select whether to repair or ignore them. I would much rather have it select the repair option automatically so that I don't have to be physically present.The reason for this is that i have a web server that should come back online automatically after a power loss.

View 2 Replies View Related

Ubuntu Security :: Automatic Updates Of Clam Signature File?

May 8, 2010

Is there a way to make Clam update the signatures automatically? I cannot see an option in Clam TK.

View 1 Replies View Related

Server :: Syslog Not Updating The Messages File?

Feb 16, 2011

I am facing an issue with my syslog server. The server is collecting remote log also. and the issue is no log messages are updated in /var/log/messages file. But other files are getting updated.

[root@Server1 ~]# cat /etc/syslog.conf
# Log all kernel messages to the console.
# Logging much else clutters up the screen.

[code]....

View 13 Replies View Related

Programming :: Updating A Line In A Text File?

Dec 31, 2010

I have a text file called namelist.wps. In this file there is a line that reads:

Code:
start_date = '2010-12-26_12:00:00', '2010-12-26_12:00:00',
I have to automatically update the year, month, and day of month for this line without changing the rest of the file. Here is the script that I have:

[Code]....

View 5 Replies View Related

Ubuntu Installation :: Cannot Purge Blockcontrol - Messing Up Automatic Updating - Cannot Rid It

Nov 24, 2010

I have searched around a bit and am having difficulty purging blockcontrol off my system. I am running Ubuntu 10.04 LTS i686 version. I have been able to remove some of the programs attached to blockcontrol but cannot remove blockcontrol. The synaptics package manager and console root access will not rip out blockcontrol. I want the entire Moblock/Blockcontrol set off the system.

[Code]....

View 2 Replies View Related

OpenSUSE :: Firefox Updating / Install From File Download

Jan 29, 2010

I have downloaded the firefox 3.7a which was a tar.bz2 file. After downloading extracted the tar.bz2 into a download folder. Now I can figure out to do from there. How can update using this firefox update. All the zypper/yast ect. only use my repositories that dont have 3.7a and I can not figure out what else to do. Google searches all just say use package manager. But how do you use a package manager for a file on your hard drive?

View 1 Replies View Related

Ubuntu :: Can't Boot After Updating To 10.10 - Error: File Not Found

Mar 26, 2011

I have an HP Pavilion DV 6500 laptop running Windows 7 and Ubuntu (via Wubi). I just updated Ubuntu to 10.10 from 10.04. After restoring the Windows bootloader (which I need to do every time Grub gets updated), I can no longer boot up Ubuntu. When I select it from the bootloader, it gives me a couple of errors, the final one being: Error: File not found And then reboots the system automatically.

View 1 Replies View Related

Ubuntu Installation :: Apt-Get Not Updating As Status File Could Not Be Parsed

Jun 29, 2011

This is the error I get when I try to update it:
Code:
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/au.archive.ubuntu.com_ubuntu_dists_natty_main_binary-i386_Packages
E: The package lists or status file could not be parsed or opened.

View 1 Replies View Related

Programming :: Updating A Single Line In A Text File?

Dec 30, 2010

I have a text file called namelist.wps. In this file there is a line that reads:Code: start_date = '2010-12-26_12:00:00', '2010-12-26_12:00:00', I have to automatically update the year, month, and day of month. I set values for the year, month, and day of month using the following code in a c-shell script:Code: set y1 = `date +%Y`set m1 = `date +%m`set d1 = `date +%d` After I do this, how do I update year, month, and day of month, without changing any of the other lines in the namelist.wps file?

View 2 Replies View Related

General :: Logging - How To Keep A Live-updating Log File Open In Terminal

May 20, 2011

This must've been done before: I want to keep a log file open in terminal so I can monitor updates to it as they occur. My searches are coming up with everything but this situation... I must be missing some terminology or something key, because people do this all the time inside of other programs (NetBeans, or rails server, for example).

View 2 Replies View Related

Ubuntu :: Error #15: File Not Found; Grub Messed Up After Updating?

Apr 6, 2010

Been trying to solve this using Google for a while. Well, I recently did: sudo apt-get dist-upgrade. Now, whenever I boot up I get "Error #15: File not found."From what I've gathered, something is wrong with my menu.lstI've tried several things to fix this, but I can't figure it out.

Code:
#
# examples

[code]....

View 9 Replies View Related

Ubuntu :: File Copy Via 9.10 On Windows Not Updating Directory Tree ?

Aug 19, 2010

I have ubuntu 9.10 & windows 7 on my laptop. I have one 40GB Primary partition (C & 60 GB logical partition on my windows. I have given another 20GB for ubuntu.

I hibernated my windows7 & then started ubuntu 9.10. Then I copied a folder containing some PDF files from my ubuntu to that 60GB (D on windows. Then I rebooted the machine & choose windows from GRUB. the windows came up from hibernation but nowhere I was able to see that folder which I copied.

Since ubuntu supports (understands) NTFS file system it means when I copied that folder it should have updated the Directory Tree of NTFS on that 60GB (D but that folder is not shown.

When I restart the windows the folder appears (ofcourse because windows checks the file system again for consistency while in hibernation it does not).

View 3 Replies View Related

General :: Create User Add File With Default Password And Force User To Change It?

Feb 2, 2010

I want to add 50 new users, not on the server yet I want to add them all to group Accounting - with 1 option, not user by user I want to setup a default password for them all, and have it say something like 'You must now change password or no access will be permitted' Any other options I also want to do once, not for each user?

View 3 Replies View Related

Programming :: Updating A Text File (replacing The Existing Parameters With The New Values)

Nov 9, 2010

I have a text file that needs to be updated to be used by some fortran code later. it looks like that:

1,1 !Ms for y-stations, Ns for x-stations
0,0,0, !xsta, ysta, zsta

I need to replace the "0,0,0" with new values for xsta,ysta and zsta;

View 4 Replies View Related

Ubuntu Installation :: Error Updating - WARNING: Failed To Read Mirror File

Apr 22, 2010

[code]...

Failed to read mirror file. it eventually shuts down saying "reverting to original state"?

View 1 Replies View Related

Fedora Servers :: Automatic Subdomains On Local Dev Machine

Jul 28, 2011

I have working localhost on my Fedora 15. Directory tree look like this

Code:

/var/www/html/default
/var/www/html/projects
/projects/foo
/projects/bar

[code]....

View 2 Replies View Related

General :: Move File From Machine A To B On Same Network?

Nov 23, 2009

I have two servers on my network (at home). Let's call them A and B.

I have a small shell script that I have written on server A that zips up a file, backs up a database. It's triggered by cron once a day.

After I run it, I would like to move this file from server A to server B.

As I said, both are on the same network (in the same room, actually), and so obviously have different network IPs.

What are my options to move these files? It would need to be something that was done in perhaps a shell script that was, like the shell script that zips the files, is triggered by a cron job.

I'm assuming there are actual applications for this sort of theng (rsync?), but can it be done with a shell script? It seems very simple and basic...

How might this be done?

Systems:

Server A - CentOS v. 5
Server B - RHEL v. 4

View 3 Replies View Related

General :: Scp - Copy File From One Machine To Another In A Intranet?

Jan 12, 2011

I used the command: scp filename.c user@172.100.102.187:/user/pradeep

Here I want to copy file to 172.100.102.187 in /user/pradeep but it gives a
error: scp: /user/pradeep: No such file or directory

What is the command to copy a file from one system to another?

View 3 Replies View Related







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