1
vote
2answers
91 views

How to optimize SVN backup process in bash script?

I have a shell script running in AIX that will do the backup for each SVN repository every night. The execution is as follow: Download the each repository save as a dump file: svnrdump on repo_A ...
0
votes
1answer
3k views

Expect Script, timeouts and error checking

I was hoping to get a little insight into an expect script that I've written. Basically we have this expect script to perform an sftp upload, key authentication is not an option, and sftp is the only ...
1
vote
3answers
385 views

how i can get the date in UNIX-aix and store ecah part in variable

I write batch file and i want to compare the modification time (timstap) to two folder and copy the latest one . i don't know if this option available directory be cause i don't know .so i want to get ...
1
vote
1answer
258 views

how i can write if statment in unix AIX

i want to write if statment as following :- if [$x == "string"] then echo "ok" fi but the following error appear ./bash_if.sh[6]: [0: not found.
0
votes
1answer
322 views

bash file to send an e-mail in unix?

i want to write bash file perform the following steps :- copy file from server1 to server2 if (copy success ) do nothing if (copy failed ) send e-mail to admin@company.com contain the following ...
1
vote
3answers
982 views

Why does bash invocation differ on AIX when using telnet vs ssh

I am using an AIX 5.3 server with a .bashrc file set up to echo "Executing bashrc." When I log in to the server using ssh and run: bash -c ls I get: Executing bashrc . .. etc.... However, when ...
0
votes
3answers
628 views

An SQLite/STDIN Conundrum, Specific to AIX

I'm been playing around with SQlite at work, specifically with trying to get the sqlite3 command line tool to accept stdin instead of a file. Sounds easy enough, on linux you can execute a command ...