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
Tony Abernethy
2009-Jul-01 05:23 UTC
How to get first level folder names with rsync commands?
Something like ls -d NetBackup/* | wc should be informative. (assuming something unixy, of course -- cygwin stuff might work)> -----Original Message----- > From: rsync-bounces+tony=servacorp.com@lists.samba.org > [mailto:rsync-bounces+tony=servacorp.com@lists.samba.org] 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 >