From: David Disseldorp Subject: Re: [Samba] Read offline attribute Date: Tue, 10 Jun 2014 17:32:50 +0200 Message-ID: <20140610173250.1769b200@plati.site> References: <53971D84.1020806@whywouldwe.com> <53971ECD.4070301@whywouldwe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: samba-w/Ol4Ecudpl8XjKLYN78aQ@public.gmane.org, linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Peter Flood Return-path: In-Reply-To: <53971ECD.4070301-O17Z5ZPWbgxgJw1g6a66pQ@public.gmane.org> Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Hi Peter, On Tue, 10 Jun 2014 16:05:49 +0100, Peter Flood wrote: > I want to read the 'offline' extended attribute on files on a windows > share mounted on a linux host, is it possible to get this info? The Linux CIFS client doesn't currently offer such support. However, the offline attribute can be checked using smbclient via the allinfo command. Offline files will carry an 'O' in the attributes field. Cheers, David