Displaying 20 results from an estimated 10000 matches similar to: "Possible bug that deletes all data in cwd except dst"
2024 Oct 29
0
Possible bug that deletes all data in cwd except dst
alright, makes sense now thanks for the information
On Tue, Oct 29, 2024, at 21:32, Robin Lee Powell wrote:
> --exclude takes an argument, so "--exclude --exclude ." means
> "exclude files named --exclude, followed by . as a bare argument".
>
> So this is equivalent to: rsync -avh src dst .
>
> IOW, you're copying src and dst to the current directory.
2014 Apr 09
2
[Bug 10545] New: Rsync first time deletes files, second time it synchronates files with same name
https://bugzilla.samba.org/show_bug.cgi?id=10545
Summary: Rsync first time deletes files, second time it
synchronates files with same name
Product: rsync
Version: 3.0.9
Platform: x64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned
2019 Apr 03
1
Possible not expected behaviour with "delete" option
Hi, I was trying to make a mirror backup of a folder in my machine with the
following command:
rsync -avh --delete /source/ /destination
But the extra files that where on "destination" didn't got deleted. Where
as doing:
rsync -avh --delete /source/ /destination/
worked as expected.
I wonder if this is correct, or it shouldn't be like that.
-------------- next part
2010 Jun 04
2
Backup to NTFS USB drive --compare-dest not working
When I'm running "rsync --compare-dest" on a local Linux volume (ext4) it
works as expected (duplicate files not created) however when same commands
with same options are run on NTFS USB drive (in my scenario below mounted to
/share/external/sdt5) all the files are copied regardless if they have been
updated or not. I have spent many hours trying to figure out what could be
wrong and
2007 Dec 22
0
another buglet in OSX dtrace? - cwd value
On Solaris 10, dtrace''s cwd yields a full path name:
# dtrace -n ''syscall:::entry { printf("%s", cwd); }''
0 1685 pollsys:entry /
0 1381 write:entry /data/homes/guest/rdm
...
On OSX, it yields just a directory name:
# dtrace -n ''syscall:::entry { printf("%s", cwd); }''
0 17596 read:entry rdm
2019 Apr 17
0
[Bug 13901] New: Empty quotes adds cwd to SRC directories
I brought this up on the list years ago and was told it's a feature, not
a bug.
Even if some other GNU or Linux commands have this "feature", it still
violates the principle of least surprise.
It's also pretty hard to discover because a null argument is literally
invisible.
Joe
On 4/17/19 9:54 AM, just subscribed for rsync-qa from bugzilla via rsync
wrote:
>
2013 Feb 22
1
menu.c32 and changing CWD
Hello Syslinux ML,
According to the documentation, the following command:
COM32 menu.c32 file1.cfg file2.cfg
loads both, file1.cfg and file2.cfg, using menu.c32.
Is there any way to simultaneously load those cfg files AND change
the CWD (similarly as the second argument of the CONFIG directive
does) while still using the "COM32 menu.c32" command?
TIA,
Ady.
2006 Apr 13
1
Setting CWD to be RAILS_ROOT for fastcgi/Apache
All,
So I''ve discovered that when running on FastCGI with Apache and the
working directory for the process is actually the "public" directory
under RAILS_ROOT.
Is there a way to force the current working directory to be RAILS_ROOT
for the FastCGI procs so that file manipulation would then be done
relative to RAILS_ROOT?
Or should I just make sure that all of my paths are
2003 Jul 08
1
rcmd and directories (cwd; tmpdir) (PR#3429)
Hi,
rcmd requires a temporary directory identified by the value of the
environment variable "TMPDIR". Unfortunately, if the directory name has a
space in it, rcmd errors out. For example, the standard temporary file
"TMP" for xp is like:
c:\documents and settings\r_user\local settings\temp
If TMPDIR is defined via the Windows/XP "standard" way, i.e.,
set
2011 May 19
3
How to stop mail_executable from cwd to ~home
In our environment home directories are auto-mounted via /home/<user>
including on the server provided mail.
Within the various mail services though we try to isolate
and override with local /mail/home/<user>
Works well except that dovecot still wants to cd to the real home
triggering a useless and potentially hindering automount
when it invokes the imap or pop3 process specified by
2019 Apr 17
3
[Bug 13901] New: Empty quotes adds cwd to SRC directories
https://bugzilla.samba.org/show_bug.cgi?id=13901
Bug ID: 13901
Summary: Empty quotes adds cwd to SRC directories
Product: rsync
Version: 3.1.3
Hardware: x64
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayne at opencoder.net
Reporter:
2006 Feb 07
1
deleting 1 filter deletes all (under same class)
I am creating three u32 filters with different dst addresses.
When I delete one of those filters, all three are deleted. Why all 3
filters are deleted even though in ''tc filter del'' command I give
exactly all parameters of filters creation. Is this expected
behaviour, that all other filters are deleted also ?
Thanks
Yakov Lerner
Here is sample script that reproduces how
2005 Apr 23
1
--link-dest / --hard-links problem
I've looked around for a bug report on this problem and haven't seen one, so I
apologize if this has already been discussed.
I have a homegrown script which uses rsync to maintain daily backups of roughly
twenty Redhat Linux systems running RH 7.2, 7.3, AS 3, and AS 4. As there are
files with multiple links on the source systems, it is necessary to call rsync
using the -H (--hard-links)
2003 Dec 17
1
TODO hardlink reporting problem - fixed?
On Mon, 15 Dec 2003, jw schultz <jw@pegasys.ws> wrote:
> OK, first pass on TODO complete.
....
This hardlink bug report is nearly 21 months old... So I took a look
at it using 2.5.7. See below.
> BUGS ---------------------------------------------------------------
>
> Fix hardlink reporting 2002/03/25
> (was: There seems
2006 Jul 07
1
rsync: failed to hard-link error message
Dear Rsync,
I am seeing the following rsync error messages and I am wondering if it is
a sign of trouble, expected behavior, or a bug:
rsync: failed to hard-link /Volumes/backups/vanguard/backup.0/dev/agpgart
with dev/agpgart: Invalid argument (22)
rsync: failed to hard-link /Volumes/backups/vanguard/backup.0/dev/apm_bios
with dev/apm_bios: Invalid argument (22)
rsync: failed to hard-link
2012 Jul 25
7
cwd dot folders
Hi,
I am trying to
exec { myexectest:
path => "/bin:/usr/bin:/usr/sbin",
cwd => "/home/user/.ssh",
command =>"echo test > test.txt",
onlyif => "test -f test.txt"
}
it doesnt work any clues why? I think it cannot change directory to a DOT
directory
please HELP!!
--Nikos Hatzopoulos
--
You received
2004 Jul 06
0
UID -1 and --link-dest problem
Hi,
I'm not sure if it's rsync or Cygwin problem, but most probably both..
Here is a short description:
I run rsync daemon on Windows machine (either latest cwRsync or Cygwin
versions) and synchronize a Windows directory to Linux server as root:
linux# rsync -avH --numeric-ids 10.0.0.1::test /export/test1/
receiving file list ... done
created directory /export/test1
./
43524353.upd
2007 Jan 08
0
snom 190 (etc.?) dialscript for * debugging and kaddressbook
Thought I might just as well share these scripts, they may work with
other phones too:
########################################################################
*1)* Dialing from the KDE 3.5.5 address book works with a script that
gets triggered from the kaddressbook (Settings - Script Hooks - Phone)
with my command
snom_dial_number %N
The script snom_dial_number itself goes like this:
2011 Feb 07
1
Incremental backup with only delta into a separate file.
Hi All,
I am presently doing a small POC with rsync for incremental backup and
restore starategies.
I have come up with certain question down the line, can anyone help me with
the explanation.
Used the config and ideas from:
http://www.mikerubel.org/computers/rsync_snapshots/
The commands executed on two machines in sequence
Machine 1:
root at Andruil:~# vim testfile
root at Andruil:~# ls
2015 Apr 28
2
Options for a "I'm done" flag file
Michael Johnson - MJ <mj at revmj.com> wrote:
> rsync -av /src/ /dst/ && touch /dst/done
Aaaaahhhh, knew I'd miss some detail.
All the syncs are pushed to the backup server.
But that does give me an idea. I guess I could do that on the source, then sync the flag file over.
rsync -avH ${other_gubbins} / user at remote.machine:/dest/ &&
touch /etc/donefile