Displaying 20 results from an estimated 25 matches for "emptydir".
2011 Mar 17
1
[nut-commits] svn commit r2940 - in branches/windows_port/scripts/Windows/Installer
...rederic BOHE <fbohe-guest at alioth.debian.org>
> To: nut-commits at lists.alioth.debian.org
> Date: Wed, 16 Mar 2011 14:57:09 +0000
> Subject: svn commit r2940 - in
> branches/windows_port/scripts/Windows/Installer: . ImageFiles
> ImageFiles/Binary ImageFiles/Others ImageFiles/emptyDir
> ImageFiles/emptyDir/cgi-bin ImageFiles/emptyDir/html
> ImageFiles/emptyDir/include ImageFiles/emptyDir/man1
> ImageFiles/emptyDir/man3 ImageFiles/emptyDir/pkgconfig
> ImageFiles/emptyDir/run ImageFiles/icons ImageFiles/libusb
> Author: fbohe-guest
> Date: Wed Mar 16 14:57:06 201...
2002 Jun 26
5
[PATCH] improved chroot handling
...privileges */
+ if (chroot(".") < 0)
+ fatal("chroot(): %s\n", strerror(errno));
debug3("privsep user:group %u:%u", (u_int)pw->pw_uid,
(u_int)pw->pw_gid);
do_setusercontext(pw);
@@ -561,6 +556,7 @@
static Authctxt*
privsep_preauth(void)
{
+ char emptydir[] = "/var/tmp/sshd.XXXXXXXXXX";
Authctxt *authctxt = NULL;
int status;
pid_t pid;
@@ -570,12 +566,31 @@
/* Store a pointer to the kex for later rekeying */
pmonitor->m_pkex = &xxx_kex;
+ /*
+ * We create a safe environment for the child by creating an empty
+ * direct...
2009 Apr 09
3
Help creating incremental backups using --backup-dir.
...low is the script I'm using.
#-------------------
# directory to backup
BDIR=$HOME/Documents
BACKUPDIR=`date +%A`
OPTS=" -aX --force --progress --ignore-errors --delete --backup --
backup-dir=/$BACKUPDIR"
# the following line clears the last weeks incremental directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
/usr/local/bin/rsync3.0.5 --delete -a $HOME/emptydir/ /Volumes/SAMBA/
$BACKUPDIR/
rmdir $HOME/emptydir
# now the actual transfer
/usr/local/bin/rsync3.0.5 $OPTS $BDIR /Users/Shared/current
#-------------------
Thanks.
David.
2005 Nov 23
2
HELP: need better understanding of "--delete" flag
...ing peachbackups/peachw/Peachtree Archive Data
Files/archivec/W200000.FRM
.........
I am using the script from rsync.org the for 7-day
incremental backups written by tridge.
Here is the part I am not sure what it does...
# the following line clears the last weeks incremental
directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
rsync --delete -a $HOME/emptydir/
$BSERVER::$USER/$BACKUPDIR/
rmdir $HOME/emptydir
Thanks for any pointers on this.
-Jeff
2009 Apr 11
0
sudo make check fails on OSX
...#39;test -h'
sending incremental file list
created directory /usr/local/src/rsync/testtmp/batch-mode/chk
./
empty
filelist
nolf
nolf-symlink -> nolf
text
dir/
dir/text
dir/subdir/
dir/subdir/subsubdir/
dir/subdir/subsubdir/etc-ltr-list
dir/subdir/subsubdir2/
dir/subdir/subsubdir2/bin-lt-list
emptydir/
sent 1,666,681 bytes received 171 bytes 3,333,704.00 bytes/sec
total size is 1,665,905 speedup is 1.00
sending incremental file list
created directory /usr/local/src/rsync/testtmp/batch-mode/to/missing
./
empty
filelist
nolf
nolf-symlink -> nolf
text
dir/
dir/text
dir/subdir/
dir/subdir/sub...
2003 Aug 14
1
Incremental Backup
Hi folks,
What is the purpose of following statements?
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/
Expecting reply.
Baskar
2004 Sep 23
1
rsync script from homepage: trouble
...rom=$EXCLUDES# --delete --backup
#--backup-dir=/$BACKUPDIR -a"
OPTS="-e ssh --force --ignore-errors --delete --backup \
--backup-dir=/home/$BACKUPDIR -a"
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
# the following line clears the last weeks incremental directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
#rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/
rsync -e ssh --delete -a \
$HOME/emptydir/$BSERVER:/aule/data_rsync/$BACKUPDIR/
rmdir $HOME/emptydir
# now the actual transfer
#rsync $OPTS $BDIR $BSERVER::$USER/current
rsync $OPTS $BDIR $BSERVER:/aule/data_...
2003 Apr 09
0
rsync incremental backup problem with --backup-dir switch
...day', etc.
# Maybe some mistake here
OPTS="--force --ignore-errors --delete-excluded --exclude-from=$EXCLUDES
--delete --backup --backup-dir=/$BACKUPDIR -a"
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
# the following line clears the last weeks incremental directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
/usr/bin/rsync --delete -a $HOME/emptydir/ $BSERVER::$USER/$BACKUPDIR/
rmdir $HOME/emptydir
# now the actual transfer
rsync $OPTS $BDIR $BSERVER::$USER/current
----
Thanks in advance for any help you can provide me with.
Yours sincerely,
Don van der Haghen
don@avg-onlin...
2004 Oct 28
1
Remote file deletion
I've a particular situation in which I need to sometimes
delete one or two files from a remote site. I haven't
figured out a way to do it with rsync yet... I've considered
playing games with --exclude and --delete but I'm a bit
nervous of the chances of mayhem by a simple error.
Situation is a remote repository to which files are
added on occasion; there is no local copy. On
2009 Jun 12
1
--compare-dest= dir list ?
...1/ns200176.ovh.net/$i "
done
OPTS="--verbose --progress --archive --hard-links --ignore-errors
--delete-excluded --exclude-from=$EXCLUDES --delete --force
--backup-dir=$BACKUPDIR --compare-dest=\"$COMPAREDIR\" --log-file=$LOG"
echo Cleaning previous backup...
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
rsync --verbose --delete -a $HOME/emptydir/ $BACKUPDIR/
rmdir $HOME/emptydir
echo Backup start
rsync $OPTS $SSH_USER@$SSH_HOST:$TOBCK $BACKUPDIR
echo $COMPAREDIR
echo Backup ended
Thanks!
Pv
2020 Sep 29
1
Back-up differences. Raspberry Pi and Fedora
...IR=`date +%A`
OPTS="--force --ignore-errors --delete-excluded
--exclude-from=/home/joe/Documents/exclude.txt
????? --delete --backup --backup-dir=/$BACKUPDIR -a"
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
# the following line clears the last weeks incremental directory
[ -d $HOME/emptydir ] || mkdir $HOME/emptydir
rsync --delete -a $HOME/emptydir/ $BSERVER::Linux1/$BACKUPDIR/
rmdir $HOME/emptydir
# now the actual transfer
rsync $OPTS $BDIR $BSERVER::Linux1/current
Can anyone explain why this is happening please?
Joe Curtis
--
-------------- next part --------------
An HTML a...
2008 May 06
3
DO NOT REPLY [Bug 5440] New: 'relative' test fails on SunOs 5.8
...dir/subdir/
>f+++++++++ down/3/deep/dir/subdir/foobar.baz
cd+++++++++ down/3/deep/dir/subdir/subsubdir/
>f+++++++++ down/3/deep/dir/subdir/subsubdir/etc-ltr-list
cd+++++++++ down/3/deep/dir/subdir/subsubdir2/
>f+++++++++ down/3/deep/dir/subdir/subsubdir2/bin-lt-list
cd+++++++++ down/3/deep/emptydir/
-n Test basic relative:
Running: "/src/rsync-3.0.2/rsync -avR ./down/3/deep
"/src/rsync-3.0.2/testtmp/relative/to""
sending incremental file list
./
down/
down/3/
down/3/deep/
down/3/deep/empty
down/3/deep/filelist
down/3/deep/nolf
down/3/deep/nolf-symlink -> nolf
down/3/d...
2006 Jul 14
2
Problems accessing CVS repository
Hi,
I have persistent problems to access the OpenSSH CVS repository as
anonymous user, once it has been checked out:
$ cvs -d anoncvs at anoncvs.mindrot.org:/cvs co openssh
[...works fine...]
$ cd openssh
$ cvs up
cannot create_adm_p /tmp/cvs-serv5471/contrib
Permission denied
The same happens when trying to use the second repository:
$ cvs -d anoncvs at
2012 Apr 20
1
dsync: convert only mbox in /var/mail to maildir?
I'm migrating an old UW pop server to a new Dovecot server. The old server did
not allow mail to be stored on the server, so only mbox files exist in
/var/mail, with nothing in /home/$user. I'd like to copy the /var/mail
directory over to the new server and then use dsync to convert the mbox files
and put them in /home/$user/Maildir, but every permutation of the command line
I've
2007 Sep 20
3
[LLVMdev] Building current llvm-gcc-4.0 TOT fails on darwin x86
Hi Arnold,
deleting that is a bit rude, and svn will recover it
when doing "svn up" next time.
A better solution is to
cd llvm-gcc
svn switch libstdc++ missing
This permanently tells svn to see an empty dir instead of
the c++ lib.
Sabre wanted to put this into the README, dunno if this happened.
Cheers,
Gabor
Arnold Schwaighofer wrote:
> Ups just saw i forgot to delete
2003 Jan 09
2
Help With Restoring
Hi All,
I have been using rsync to backup to a central server with a 7 day
incremental script on 2 Redhat boxen.
#!/bin/sh
PATH=/usr/local/bin:/usr/bin:/bin
DAY=`date +%A`
export PATH DAY
[ -d /root/emptydir ] || mkdir /root/emptydir
rsync --rsh=/usr/bin/ssh --delete -a /root/emptydir/
CENTRAL_SERVER_IP:/backup2/BACKED_UP_SERVER_FQDN/$DAY
rmdir /root/emptydir
rsync --delete --stats --compress --recursive --times --perms --links
--rsh=/usr/bin/ssh --exclude "tmp/" --exclude "dev/&qu...
2007 Nov 02
0
build/test problems with rsync-3.0.0pre4
...rsync-3.0.0pre4-1/ARENA/32/testtmp/hands/to""
sending incremental file list
../
empty
filelist
nolf
nolf-symlink -> nolf
text
dir/
dir/text
dir/subdir/
dir/subdir/foobar.baz
dir/subdir/subsubdir/
dir/subdir/subsubdir/etc-ltr-list
dir/subdir/subsubdir2/
dir/subdir/subsubdir2/bin-lt-list
emptydir/
sent 1492996 bytes received 191 bytes 995458.00 bytes/sec
total size is 1492170 speedup is 1.00
-------------
check how the directory listings compare with diff:
No differences encountered
-------------
check how the files compare with diff:
-------------
done.
-n Test hard links:
Running:...
2000 Apr 03
1
2.0.7pre3: smbclient issues
...kb/s)
smb: \>
I think "mput dir1" should do it, right?
=== 3) no output when transferring empty dirs
"put" of empty dirs gives no output to the screen, even if the dirs are
actually transferred, this causes confusion:
smb: \> prompt
prompting is now off
smb: \> mput emptydir
smb: \> recurse
directory recursion is now on
smb: \> mput emptydir
smb: \>
The 2nd mput really transfers the dir, the 1st does not, but the output
is the same for both.
=== 4)
smbclient does not output anymore the line with
"security=share" or "security=user" or &qu...
2010 Feb 03
7
Forcibly emptying a POP3 mailbox
Hello,
I've recently saw a discussion on this list, about a standardised way of
emptying POP3 mailboxes on the server - but no solution came up.
Please provide a suggestion for the following situation:
- I am running a stock POP3 dovecot server, on Fedora 12 (dovecot
version 1.2.9)
- passwd-file authentication via /etc/imap.passwd
- users are virtual, sharing the same UID/GID;
-
2003 Feb 22
1
rsync ported to BeOS-bone
.../rsync-2.5.6/rsync -av /boot/home/devel/rsync-2.5.6/testtmp.hands/from/ /boot/home/devel/rsync-2.5.6/testtmp.hands/to"
building file list ... done
./
dir/
dir/subdir/
dir/subdir/subsubdir/
dir/subdir/subsubdir/etc-ltr-list
dir/subdir/subsubdir2/
dir/subdir/subsubdir2/bin-lt-list
dir/text
empty
emptydir/
filelist
nolf
nolf-symlink -> nolf
text
Kill Thread
-------------
check how the files compare with diff:
/bin/diff: /boot/home/devel/rsync-2.5.6/testtmp.hands/to/./dir/text: No such file or directory
/bin/diff: /boot/home/devel/rsync-2.5.6/testtmp.hands/to/./empty: No such file or directory
/b...