Well, what I mean is running some rsync command, and get a list something like.
$ rsync <options> <destination> List: test1 test2 Is it possible with rsync options? On Wed, 2009-07-01 at 00:23 -0500, Tony Abernethy wrote: > Something like > ls -d NetBackup/* | wc > should be informative. > > (assuming something unixy, of course -- cygwin stuff might work) > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On > > Behalf Of Daniel.Li > > Sent: Wednesday, July 01, 2009 12:17 AM > > To: Rsync > > Subject: How to get first level folder names with rsync commands? > > > > Dear List, > > > > I set up a NetBackup destination on my server. > > > > And I backup test1 to NetBackup/test1, test2 to NetBackup/test2. > > > > Now I wanna know how many folders that have been backuped. It > > should be > > 2 folders, with the name of test1 and test2. > > > > But I don't know if there is any way to do so? > > > > > > Any advice and help is well appreciated. Thanks. > > > > > > > > -- > > Daniel Li > > > > -- > > Please use reply-all for most replies to avoid omitting the > > mailing list. > > To unsubscribe or change options: > > https://lists.samba.org/mailman/listinfo/rsync > > Before posting, read: > > http://www.catb.org/~esr/faqs/smart-questions.html > > -- Daniel Li -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
