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):

  1. index.php
  2. images
  3. images/1.jpg
  4. images/2.jpg
  5. images/3.jp3
  6. includes
  7. includes/db.php
  8. 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

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -