linux - Find recursively relative paths without showing the main directory contents -
first of all... i'm newbie in linux! haha i'm trying show files , directories main directory need exclude main directory record.
example (all files in /var/www/html
):
- index.php
- images
- images/1.jpg
- images/2.jpg
- images/3.jp3
- includes
- includes/db.php
- includes/security.php
the records want exclude i've shown in bold / strong
now i'm using command: find /var/www/html/ -mindepth 1 -printf '%p\n'
i appreciate help. regards!
Comments
Post a Comment