10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
#!/bin/bash
PH=(AD QD QC 5H 6C 8C 7D JH 3H 3S)
echo ${PH}
In the above array, how can I print to screen just the first 8 elements of ${PH} and have the last 2 elements print just below the first line starting underneath AD?
I need to do this in order to save terminal window spacing... (5 Replies)
Discussion started by: cogiz
5 Replies
2. UNIX for Dummies Questions & Answers
I'm using rsync to transfer data from one system (nfs01) to another (nfs02) but I'm seeing 28GB more data on the target than what's on the source. The source and target filesystems are both 138 GB. The source shows 100GB used and after running rsync the target shows 128 GB used. Shouldn't they be... (5 Replies)
Discussion started by: westmoreland
5 Replies
3. Shell Programming and Scripting
Hi guys,
I want to know if there is a way to check the current size of the file that I output "stuff" to. For example, if I run a command that outputs data (like another shell script or C program) and i do something like
`./a.out &> tempfile.txt` within the script,
I want to be constantly... (2 Replies)
Discussion started by: solaris7
2 Replies
4. Windows & DOS: Issues & Discussions
Hi,
I need to check the file size using a batch script.
Pls advise. (0 Replies)
Discussion started by: krackjack
0 Replies
5. UNIX for Dummies Questions & Answers
How can one limit the size of user mailboxes in /var/spool/mail? (0 Replies)
Discussion started by: proactiveaditya
0 Replies
6. Solaris
Hi
I have been using rsync for the past few days and would vouch for it anytime.However i am unable to find the total size of files being transferred.
The output of rsync looks something like this:
sent 2.92M bytes received 90.75K bytes 6.78K bytes/sec
total size is 6.27G speedup... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies
7. HP-UX
Hi,
I have searched the web and have come back with nothing that is satisfactory for what I require. SFTP is my corporations new file transfer standard. What I require is a method to lock down SFTP users to their directory (they may go to sub directories) while not restricting regular users. ... (2 Replies)
Discussion started by: Emancipator
2 Replies
8. UNIX for Dummies Questions & Answers
Is there a way to set the size of the home directory for every single user in a specific group, in more details:
I have a group & i will have to add about 20 users to it to be their home directories. i want each of the home directories for this group to be limited to 50 MB
Help? (11 Replies)
Discussion started by: Katkota
11 Replies
9. UNIX for Dummies Questions & Answers
I would like to limit the size of syslog log files. Is there a setting I can enter in syslog.conf that does this for me. Ideally I would like something along the lines of a circular buffer of N bytes.
P.S. I'm a new user, and this site is awesome. I wish I found it earlier.
Thanks,
David (1 Reply)
Discussion started by: dmirza
1 Replies
10. UNIX for Dummies Questions & Answers
Hi
I am trying to create tar files of a whole bunch of files and want to limit them to 50Mb each.
I have tried using the -k option but cannot get it to work.
Has anyone out there had success creating these?
Cheers
Ian (1 Reply)
Discussion started by: bigjeff
1 Replies
librsync(3) Library Functions Manual librsync(3)
NAME
librsync - library for delta compression of streams
SYNOPSYS
#include <stdio.h>
#include <stdlib.h>
#include <librsync.h>
cc ... -lrsync
DESCRIPTION
The librsync library implements network delta-compression of streams and files. The algorithm is similar to that used in the rsync(1) and
xdelta(2) programs, but specialized for transfer of arbitrary-length octet streams. Unlike most diff programs, librsync does not require
access to both of the files on the same machine, but rather only a short ``signature'' of the old file and the complete contents of the new
file.
The canonical use of librsync is in the rproxy(8) reference implementation of the rsync proposed extension to HTTP. It may be useful to
other programs which wish to do delta-compression in HTTP, or within their own protocol. There are HTTP-specific utility functions within
librsync, but they need not be used.
A number of tools such as rdiff(1) provide command-line and scriptable access to rsync functions.
SEE ALSO
rdiff(1)
rdiff and librsync Manual
http://rproxy.sourceforge.net/.
draft-pool-rsync
BUGS
The rsync protocol is still evolving. There may be bugs in the implementation. The interface may change in the future, but it is becoming
more stable.
Many routines will panic in case of error rather than returning an error code to the caller. Patches to fix this are welcome, but at the
current state of development aborting seems as useful as trusting to possibly-incomplete checking in the client.
AUTHOR
Martin Pool <mbp@samba.org>, with Andrew Tridgell <tridge@samba.org>.
rdiff development has been supported by Linuxcare, Inc and VA Linux Systems.
Martin Pool $Date: 2003/06/12 06:03:32 $ librsync(3)