0
votes
1answer
47 views

Batch or VBS to log transfer file type & paths from file share

Would anyone know how to record/write a log based on what the user has transferred from a file share?. I know I could use Wireshark, but all I need to do is write a line to the log everytime the ...
1
vote
2answers
87 views

aoss is preventing file logging - logging argument commands

I am using an application which requires aoss. The results are required to be appended to a file. When I write these commands, the file is always empty: aoss multimon -a DTMF | tee test.txt aoss ...
2
votes
0answers
507 views

LogRotate use regex for filename

I have a custom logging class that creates a log for each instance of the process and adds a unique id to the log file name, example: process.1234.log process.1235.log Also I can add a date/time ...
0
votes
0answers
143 views

Monitoring text file and adding edit time on every line [Windows]

We have special measurement devices which connect through USB to a Windows PC. There's very limited software for those devices which only lets you configure the .txt file where the measured values are ...
4
votes
1answer
767 views

GnuCash delete backup and log files

Is it possible to auto delete gnucash backup and log files? Maybe at least I can specify another location for such files? Edit I've found a related issue in project's Bugzilla: ...
4
votes
3answers
1k views

Tail multiple files while piping one of the files through grep

I want to use tail follow two log files, but one of the log files has too much data, so I want it filtered with grep. tail -f file1 file2|grep mySearch The issue with this is that both files are ...
2
votes
1answer
319 views

How to determine if file on another machine is being accessed

I would like to determine if a file on another computer (or network) is currently being accessed. Ideally, I want to perform this task in a batch file, but other methods of performing this feat is ...
2
votes
4answers
6k views

How to print Linux command output to a file?

I am creating a script to sync my important documents between two system. I want my script to generate a log file for the last action. can you suggest me a way to achieve this. Question: If I execute ...