I have a security system that FTPs the camera files to my machine, however I want to sort the pictures (taken every 30s) into directories by hour.
Every picture uses the following file format.
yymmddhhmmsstt.jpg (where tt is the milliseconds)
I am thinking the for loop is best
for file... (11 Replies)
Hi all,
I need your help in creating a script.
At the moment, we run a daily procedure incorporating the following commands, which we would like within a script using the bash shell.
cd /var/adm/Syslog
tail -1 /var/adm/messages
grep "`date '+%b %e'`" /var/adm/messages > syslog.`date... (4 Replies)
0
Hi,
I am looking for a way of creating multiple directories using the mkdir -p command in a shell script.
I'm working with an Ubuntu machine and try to do something like that:
#!/bin/sh
... (3 Replies)
Hi.
I have two text files(tables) which include some information and I want to make some query codes using them.
First of all, I want to create bash script that read this two tables, create/open database and insert data from files into database.
#!/bin/bash
while read line; do
... (1 Reply)
Hi, I am a new on this forum but i like :) I need a script in bash which will be crating a new user with folder for websites. For example: I will run this program and he creating a new user(with my name) and folder whcich name like user and if i will localho/~user in browser, she show me files from... (1 Reply)
Hello Everyone,
I am currently trying to write a Bash Script to call a PCAP file. The command I will use in the script will be the following:
tshark -r test.pcap -T fields -e frame.number -e frame.time -e eth.src -e eth.dst -e ip.src -e ip.dst -r ip.proto -E header=y -E separator=, quote=d -E... (4 Replies)
how can i move "dataName".sql.gz into a folder called 'database' and then move "$fileName".tar.gz * .htaccess into a folder called 'www' with the entire gzipped file being "$fileName".tar.gz? Is this doable or overly complex.
so
mydemo--2015-03-23-1500.tar.gz
> database
-... (5 Replies)
I've got this script to loop through all folders and move files that are more than 2 years old. I'm using the install command because it creates the necessary directories on the destination path and then I remove the source. I'd like to change the script to use the mv command since it is much... (4 Replies)
I wrote a code to find codons in a DNA string. The only problem I have is how do I make the code only work for a file with DNA. This means the file only has the characters a,c,g,t and no white space characters. (3 Replies)
Hey, im fairly new to unix and Im trying to make this unix project that would display a menu and do the following.
MENU
===========================
(p, P) Print users info
(a, A) Add new user
(s, S) Search user
(d, D) Delete user
(x,X) Exit
Enter your choice:
Trying to... (3 Replies)
Discussion started by: ultimaxtrd
3 Replies
LEARN ABOUT DEBIAN
tinydyndns-conf
tinydyndns-conf(8) System Manager's Manual tinydyndns-conf(8)NAME
tinydyndns-conf - sets up a pop-before-dyndns service
SYNOPSIS
tinydyndns-conf acct logacct dir myip mydomain
DESCRIPTION
tinydyndns-conf creates a service directory dir that runs tinydns(8), and a service directory dir/pop that runs a pop3 service and updates
tinydns' database after a successful login.
You can run the services under svscan(8) or runsvdir(8) by creating symbolic links in the /service directory:
ln -s dir /service/dir
ln -s dir/pop /service/dir-pop
The service will start within five seconds, and will be restarted upon reboot. You can use svc(8) to control the service.
tinydyndns-conf runs
tinydns-conf acct logacct dir myip
to set up a DNS publication service.
tinydyndns-conf modifies dir/root/Makefile to not run tinydns-data(8) upon normal request.
tinydyndns-conf arranges for tcpserver(1) to listen on TCP port 110, and to start pop3front-auth(8), cvm-pwfile(8), and after a successful
login tinydyndns-update(8), and pop3front-maildir(8) upon connections.
tinydyndns-conf creates a setpasswd script and a default passwd database in dir/pop for the use with cvm-pwfile(8).
SEE ALSO tinydyndns-update(8), tinydyndns-data(8), tinydns(8), tcpserver(1), pop3front-auth(8), cvm-pwfile(8), pop3front-maildir(8)
http://smarden.org/tinydyndns/
AUTHOR
Gerrit Pape <pape@smarden.org>
tinydyndns-conf(8)