Displaying 17 results from an estimated 17 matches for "dest_path".
2010 Nov 09
5
Changes made to main.c on implementing real time Rsync
...(577) [Receiver=3.0.7]
rsync: connection unexpectedly closed (5 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(610)
[sender=3.0.7]
So, I changed main.c to create folder recursively. The following are the
changes.
if (mkdir_defmode(dest_path) != 0)
{
/*create folder recursively*/
char parentFolder[200];
char *pFound = dest_path + 1;//ignore the first /
STRUCT_STAT st1;
while( (pFound = strchr(pFound, '/')) != NULL)
{...
2003 Jan 16
3
unsafe_symlink change (Re: CVS update: rsync)
The patch from 2-1/2 years ago for changing copy-unsafe-links to follow
unsafe links on the destination side also included essentially this patch.
When I looked at it, however, I asked why in the world is unsafe_symlink()
doing strdup() in the first place. I think you could get rid of the
calls to strdup() and the new local variables and possibly do a couple
casts inside the function instead.
-
2015 Jun 16
1
Strange problem with rsync and expect
...!/usr/bin/expect
log_user 0
set env(LANG) en_US.UTF-8
set user "[lindex $argv 0]"
set bwlimit "[lindex $argv 1]"
set timeout "[lindex $argv 2]"
set src_path "[lindex $argv 3]"
set dest_ip "[lindex $argv 4]"
set dest_path "[lindex $argv 5]"
set passwd "[lindex $argv 6]"
spawn rsync -artqz4 -e "ssh -p 22 -o StrictHostKeyChecking=no -l $user" \
--bwlimit=$bwlimit --timeout=$timeout "$src_path" "$dest_ip:$dest_path"
expect {
"Conne...
2006 Jan 05
5
File_column crashing WEBrick when using :magick options
I''m trying to use file_column in an app I''m writing. Simple file uploads
are working fine.
However, when I try and use the :magick options to make resized
versions, WEBrick dies.
This is the Media model:
class Media < ActiveRecord::Base
file_column :media_item,
:magick => {
:versions => {
:thumb => {:size =>
2017 Aug 23
2
rsync got stuck
...MACHINE
==============
$ sudo ps -fe | grep rsync
abc 3794 3793 0 01:12 ? 00:00:00 /bin/sh -c flock -xn /tmp/LOCKFILE -c "/usr/bin/rsync --compress --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet --update --exclude=\"/.*\" /SRC_PATH/ DEST_____IP:/DEST_PATH/"
abc 3795 3794 0 01:12 ? 00:00:00 flock -xn /tmp/LOCKFILE -c /usr/bin/rsync --compress --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet --update --exclude="/.*" /SRC_PATH/ DEST_____IP:/DEST_PATH/
abc 3796 3795 0 01:12 ? 00:00:00 /bi...
2006 Mar 08
3
file_column Cropping -> image offset information
Hello,
I had a problem cropping images with file_column. These are my settings:
file_column :image, :magick => {
:versions => {
:thumb => "80x80>",
:medium => "150x150>",
:square => {
:crop => "1:1",
:size => "50x50!"
}
},
2006 Feb 03
3
File_column and rmagick options
Hi,
Currently I''m using the file_column plugin to upload images and save
multiple copies of each at 3 different resoltions:
file_column :name, :magick => {
:versions => { "thumb96" => "96x150>", "medium250" =>
"250x400>", "large480" => "480X640>" }
}
I am wondering if
2009 Dec 03
3
imap crash with backtrace (1.2.8)
...5a48) at maildir-save.c:153
ctx = 0x9fbcf98
input = <value optimized out>
__PRETTY_FUNCTION__ = "maildir_save_add"
#2 0x0808cb13 in maildir_copy_hardlink (ctx=0x9fbcf98, mail=0x9fe5070)
at maildir-copy.c:246
src_mbox = 0x9f87e98
do_ctx = {dest_path = 0x9fecdd8,
dest_fname = 0xb7e68c88 <Address 0xb7e68c88 out of bounds>,
base_end_pos = 108, size_set = 0, vsize_set = 0, success = 1,
preserve_filename = 1}
path = 0x4 <Address 0x4 out of bounds>
filename = <value optimized out>...
2006 Apr 07
4
file_column and animated gifs
hi,
is it possible to resize animated gifs with file_column?
if i upload an animated gif file with file_column than the animation no
longer exists...
--
Posted via http://www.ruby-forum.com/.
2017 Sep 05
1
rsync got stuck
...05:39 PM, Paul Slootman wrote:
> On Wed 23 Aug 2017, Vangelis Katsikaros via rsync wrote:
>
>> abc 3797 3796 0 01:12 ? 00:03:14 /usr/bin/rsync --compress --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet --update --exclude=/.* /SRC_PATH/ DEST_____IP:/DEST_PATH/
>
> Try running rsync without the --compress option, that has been the
> source of problems in the past.
> If you do need compression you could add that at the ssh level.
Thanks Paul! I've given it a go, and I'll see how it goes.
For reference, regarding the --compress optio...
2011 Jul 03
1
[Bug 8284] New: hfs-compression.diff patch incorrectly expands relative directory
https://bugzilla.samba.org/show_bug.cgi?id=8284
Summary: hfs-compression.diff patch incorrectly expands
relative directory
Product: rsync
Version: 3.0.8
Platform: x64
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
2006 Apr 26
2
--link-dest and file/dir transfer to remote rsync daemon
Hi NG,
I want to do incremental backups to a remote server running rsyncd
(because daemonless transfer via ssh often hangs!). In contrast to
transfer via ssh (without remote rsyncd) this doesn't seem possible, or
do I miss something?
Imagine I want to incrementally backup `mydir' to the backup space
`backup' on e remote server `alpha' running an rsync daemon. rsyncd on
2017 Aug 30
0
rsync got stuck
On Wed 23 Aug 2017, Vangelis Katsikaros via rsync wrote:
> abc 3797 3796 0 01:12 ? 00:03:14 /usr/bin/rsync --compress --compress-level=9 --bwlimit=512k --recursive --delay-updates --quiet --update --exclude=/.* /SRC_PATH/ DEST_____IP:/DEST_PATH/
Try running rsync without the --compress option, that has been the
source of problems in the past.
If you do need compression you could add that at the ssh level.
Paul
2007 Jan 03
1
How to Vary Module Path Based on User
...path rsync uses based on the user that authenitcated to the module.
I can see doing this in one of two ways:
1) Append the username that was used for the connection to the path string of the module on the fly. What was /path/to/dir is now /path/to/dir/username
2) Append the username into the dest_path that was sent from the other side. The effect of this would do the same thing for me - instead of changing the module path, it would in effect, simply look like the far end had specified an extra directory.
What was test@server.com::Module/directory is now test@server.com::Module/username/dire...
2008 Jan 25
0
Wine release 0.9.54
...shdocvw: Store URL in BindStatusCallback.
shdocvw: Use more flexible mechanism instead of WB_WM_NAVIGATE2.
shdocvw: Delay creating URL moniker to bind_to_object call.
shdocvw: Do navigation in message handler.
shdocvw: Store headers as BSTR.
James Hawkins (3):
msi: dest_path refers to the directory prefix, not the entire file path.
propsys: Add a stub implementation of propsys.dll.
msi: Add more MsiFormatRecord tests.
Jason Green (1):
d3d9 tests: Correct some typos.
Jonathan Ernst (1):
loader: Updated French man page.
Juan Lang (4):
win...
2006 Jan 10
13
DO NOT REPLY [Bug 3392] New: fuzzy misbehaving if source is a file
https://bugzilla.samba.org/show_bug.cgi?id=3392
Summary: fuzzy misbehaving if source is a file
Product: rsync
Version: 2.6.6
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: egmont@uhulinux.hu
2007 Sep 22
0
rsync build on IA64 using icc
...quot;", who_am_i());
^
main.c(283): remark #981: operands are evaluated in unspecified order
rprintf(FINFO, RSYNC_NAME "[%d] (%s%s%s) heap statistics:\n",
^
main.c(485): remark #981: operands are evaluated in unspecified order
full_fname(dest_path));
^
main.c(484): remark #981: operands are evaluated in unspecified order
rsyserr(FERROR, errno, "push_dir#1 %s failed",
^
main.c(506): remark #981: operands are evaluated in unspecified order
full_fname(dest_path));
^
main.c(505): remark #981: operands ar...