From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 04:44:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 72F87D2 for ; Fri, 20 Jun 2014 04:44:08 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36F7821EF for ; Fri, 20 Jun 2014 04:44:08 +0000 (UTC) Received: from r56.edvax.de (port-92-195-64-166.dynamic.qsc.de [92.195.64.166]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 4E8B32761A; Fri, 20 Jun 2014 06:44:06 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s5K4i50W002005; Fri, 20 Jun 2014 06:44:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 20 Jun 2014 06:44:05 +0200 From: Polytropon To: Noel Subject: Re: samba, rsync --backup, and mangled instead of long filenames Message-Id: <20140620064405.07e6428b.freebsd@edvax.de> In-Reply-To: <53A38A96.2000903@gmail.com> References: <489659738.13024627.1403216558777.JavaMail.root@cds005> <53A38A96.2000903@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Dale Scott , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2014 04:44:08 -0000 On Thu, 19 Jun 2014 20:12:54 -0500, Noel wrote: > Yes, the colons will break windows compatibility. And make sure file names aren't too long, because long file names are also not accepted in the "Windows" land of non-compatibility and non-interoperability. ;-) > The easy fix is don't use colons, as in date +%FT%H%M%S > or maybe --suffix=`date +%FT%H%M%S`.dwg will work. Or if you want a more "human readable" form containing non-restricted characters: --suffix=`date "+%Y-%m-%d_%H.%M.%S"`.dwg could work. This is a more "ISO date" like formatting. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...