General :: Tool To Run A Command When File Changed?

Sep 16, 2010

Does anybody know of tool for Linux that can watch a custom subtree of the filesystem for changes, and executes a custom command when a change occurs ? Such a tool would be very useful to quickly setup automatic building or uploading of source files.

View 1 Replies


ADVERTISEMENT

General :: File-manipulation Tool Used For On The Command Line?

Apr 9, 2010

What is file-manipulation tool used for on the Linux command line?

View 7 Replies View Related

OpenSUSE Install :: Accidentally Changed /usr/bin/php File On My Server By Running A Cp Command

Sep 14, 2010

I've accidentally changed /usr/bin/php file on my server by running a cp command. I know this is bad, i just don't know how bad. Everything is working fine (websites using php), so i just wanted to know what this action could cause and also how can i restore original content.

View 4 Replies View Related

General :: Root Directory Changed By Using Command?

Oct 24, 2010

I am using fedora 13. If is use the command "cd //". It changes to root directory. How is it? What "//" denote?

View 6 Replies View Related

General :: Bash - Command To Find Files Changed In Last N Seconds?

Jun 21, 2011

Linux command to find files changed in last n seconds. shell script,that we can run from cli or command.

View 3 Replies View Related

General :: Command Line Search Tool

Apr 10, 2011

This is a bit of a long shot and I think the answer will be no but I thought I'd ask just in case. I have a number of tutorials in html but I want to be able to search for particular information in these files and display that information in the terminal rather than having to go through a browser. Apart from using grep which gives a pretty messy display or having to write a a specially Bash or python script, is there any command line tools that can provide such a function?

View 4 Replies View Related

General :: Command Line Tool For Connecting To Wireless

Jul 25, 2010

I was wondering how to connect to wireless in a Linux command line environment -> I'm looking for a ncurses like program to do this, not a bunch of commands and files to edit.

View 2 Replies View Related

General :: Highlight Console Output - Any Command / Tool?

Oct 13, 2010

when I use e. g. cat file.txt | grep --color=tty "pattern" I get the pattern I search highlighted. When I want some more context around each hit, grep has the -A, -B and -C parameters. However, I want to display the whole file (or whatever command output) and highlight a certain pattern. Does such a highlight command or tool exist?

View 5 Replies View Related

General :: Force Command-line Tool To Use Different Interface?

Dec 21, 2010

I have a service which I want to run over eth1.
But all my other traffic still needs to run over eth0.

Is it possible to force a command-line tool or other application to use the non default interface?

View 2 Replies View Related

General :: Text To ASCII Art Command Line Tool?

Oct 24, 2010

I want a command line tool that echoes a string in ASCII art way, like here.

View 2 Replies View Related

General :: Udp Tcp Command Line Tool For Shell Script Programing

Feb 8, 2011

I am looking for a powerful command line tool to send and receive data via socket I mean define IP , port and data other options for command to send and receive data from sender.(like a high level socket programming)

View 4 Replies View Related

General :: How To Monitor Changed File

Jul 3, 2010

How do I monitor which files have been changed after, say, I run the passwd command? (I know, depending on the options used, it changes /etc/shadow and/or /etc/passwd). But I would like to if there is any clever ways of monitoring this. This is how I do it which is a bit crude, and I have to know which directory to monitor. Before running the command, I run

Code:

for i in $(ls -A) do; md5sum $i >> /tmp/before; done

And after running the command, I run

Code:

for i in $(ls -A) do; md5sum $i >> /tmp/after; done

Then I do a diff to see if any file has been changed

Code:

diff /tmp/{before,after}

View 1 Replies View Related

General :: Audio - Monitoring The Microphone Level With A Command Line Tool?

Jul 5, 2011

I am looking for a tool that will tell me, in less than half a second, if the microphone is picking up any sound above a certain threshold. (I plan to then mute the Master channel with another command line tool, like amixer.)

View 1 Replies View Related

General :: Free Command Line Tool To Convert SVG To PDF And/or Some Commonly-used Bitmap Format?

Jun 29, 2011

Is there a free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format (for example PNG)?

View 2 Replies View Related

General :: Check If A Website File Has Changed?

Jan 18, 2010

I have a site that I login to to check updates. It does not have RSS because users need to authenticate themselves before getting access to the page. Is there a way to write a script that can login to the page and check whether the HTML has changed and then send me an email?

View 13 Replies View Related

General :: Free Command Line Tool Time Which Can Be Used To Find Timing Statistics For Various Commands?

Jun 24, 2011

I'd like to measure network latency for SNMP GET request. There is a free command line tool time which can be used to find timing statistics for various commands. For example it can be used with snmpget in the following way:$ time snmpget -v 2c -c public 192.168.1.3 .1.3.6.1.2.1.2.2.1.10.2IF-MIB::ifInOctets.2 = Counter32: 112857973real 0m0.162suser 0m0.069ssys 0m0.005sAccording to the manual, statistics conists of:

the elapsed real time between
invocation and termination,
the user CPU time (the sum of the

[code]....

View 3 Replies View Related

General :: Good Desktop/application Or Command Line Tool To Show Two Different Timezone Concurrently?

Jul 18, 2011

I want to find a desktop application or command line tool to show two different timezone concurrently under LINUX.

Anyone knows there are such application?

Say i want to know the time at london and USA at the same time. (different time zone)

View 4 Replies View Related

General :: File Manipulation Tool For CLI?

May 15, 2010

What is the best way to copy a file from linux or unbuntu, to microsoft? Is there a way to do so?

View 4 Replies View Related

General :: GUI Tool To Extract Iso File Contents On (KDE)?

Mar 3, 2010

I have an ISO CD image file and want to extract it's contents to a folder. I know there are ways to mount the image and stuff, but it's complicated. I'm looking for a GUI tool to open up the contets and extract needed files. On windows I would use WinRar to do this. K3B only allows me to burn the stuff, Arch does not work with ISO files :(Is there a similar tool on Linux, preferably from KDE world?

View 6 Replies View Related

General :: Change A Line In A Rsync Script And Send The File Changed?

Nov 19, 2010

I'm configuring an rsync between 2 machines, A_Server --> B_Server, using the following script:

Code:
#!/bin/bash
#
# Script de backup a trav�s de Rsync desde RMP-1 hasta RMP-2.
#

[Code]....

The Rsyn is working OK. What i need is to change one of the lines of the /tmp/prueba.txt before sending it to the remote machine (obviously not changing the file in the local machine), i mean, send prueba.txt to the remote machine deleting one line and adding another one...how can i do this?

View 1 Replies View Related

General :: Video - Tool Like Media File Segmenter ?

Feb 5, 2010

I'm looking for a tool for Linux which can segment a video file into multiple small .ts files.I know one for Mac OS X called Media File Segmenter which is a simple command line tool - I'm looking for an equivalent tool for Linux.

View 4 Replies View Related

General :: Tool To Convert A File Of HEX To ASCII Character Set?

Feb 10, 2011

Is there a known tool to convert a file consisting of 2 byte Hex into ascii?

Note: - Maintain file offset listing in bytes code...

View 3 Replies View Related

General :: Mplayer - How To Hook To The File Tool And Firefox

Mar 23, 2011

Two tries at building mplayer. First time failed with no sound, second time worked fine - NO CHANGES that I know of, BUT OK - it works nicely.So if I click on a file in the Linux (fedora 14) file browser, I see using "Mplayer Media Player" as a second option, It does nothing, nor does it do anything from the Application tool menu. I do not know where the "I am doing nothing (and here is why)" error message is logged.

I can manually run mplayer or xmplayer on the .wmv file and it works.How do I edit the menus (control files?) and have them use the newly installed and working mplayer (or xmplayer??).Next, it would be nice to make mplayer the default tool to play videos in Firefox (the default for both is another tool (Movie player) which needs a plugin that I cannot find to work).And finally, if I can get one or both of these working - it would be nice to set the default to the new player instead of "Movie player".

View 6 Replies View Related

General :: Tool To Mail Contents Of New File When Created?

Nov 24, 2010

I am looking for a way to be mailed a new file when it is created in a certain directory.I have found tools that will notify me when a file is created, such as iWatch with iNotify, but is there a way to actually be sent the new file when it is created.It is only a short text log file, but I would like to read it in my inbox rather than have to login and open the file each time an event is logged.

View 2 Replies View Related

General :: Best Console Tool To Explore Sound File Information?

Jul 12, 2010

Im looking for console tool that will output most detailed information about sound file (particularly mp3). Tried to use different tools (id3, lame, ffmpeg)

View 4 Replies View Related

General :: Append Command Output To File By Giving Command In Terminal?

Jul 3, 2009

I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?

View 4 Replies View Related

Ubuntu Networking :: File 'path Omyfile' Has Been Changed On The File System?

May 28, 2010

I have asked this over on Launchpad and have found bugs filed on the eclipse bug tracker but it seems to be going nowhere so I guess ill ask here.

I am using Eclipse for some development work and having saved a file, defocus the eclipse window (to test changes in a browser) when I refocus the eclipse window I get the following error...

The file 'path omyfile' has been changed on the file system.Do you want to replace the editor contents with these changes?

I have searched and searched and this seems to be a CIFS/SAMBA problem. I even found one solution suggesting that changing his mounts from cifs to smbfs fixed his problem however that would appear not to be an option for me since using smbfs in the fstab causes cifs mounts. This problem would seem to occur in Bluefish as well as some other IDE's so it is not an Eclipse issue.

---------- LINKS TO RELATED ----------
Launchpad Question
Eclipse Bug
--------------------------------------

View 2 Replies View Related

Fedora :: Terminal Command Prompt Changed?

Jul 31, 2010

Ive just done a fresh install of F13, after an install of AMD Cat 10.7 screwed up my system.Although everything works, ive just noticed that when I open a terminal, instead of my username prompt, I now have "bash-4.1$".Firstly is this a problem? and if so how can I get my normal prompt back?

View 4 Replies View Related

Software :: How To Use A Command Line Tool

Mar 21, 2011

I need to instrall tesseract-ocrand they don't seem to offer a GUI on their website.

View 1 Replies View Related

Software :: Finding A Tool That Can Directly Convert Mp3 File To A Swf File?

Jan 26, 2009

I'm looking for a tool that can directly convert mp3 file to a swf file. Tried ffmprg - 'ffmpeg -i master.mp3 -ar 22050 -ab 32 -f swf -y -vn new.swf', output is as follows:

Output #0, swf, to 'new.swf':
Stream #0.0: Audio: 0x0000, 22050 Hz, stereo, 0 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Unsupported codec for output stream #0.0

I found a way to perform this task using ffmpeg to convert the mp3 file to a wav file, and converting the wav into a swf file using swftools (wav2swf), although this is not a good option because the output swf file size is very big - for a 12mb input 320kbps stereo mp3 file, the swf file is 25mb. Also downloaded a free direct mp3 to swf conversion software, which had an output swf file - with the same 12mb mp3 file - of ~400kb.

The requirements I have from the tool are:

1. Can be ran from the shell.

2. Direct conversion, or an indirect one that will produce a small output swf file.

3. Suport for multiple file conversion is a plus.

View 6 Replies View Related







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