P
postcd
Guest
I cant figure out this :-(
I need to list all subdirectories of 2 folders which name match wp-content and wp-includes
i tried this:
find /home/username/public_html/ -path "*/wp-content/*" -o -path "*/wp-includes/*" -type d
find /home/username/public_html/ -type d -path "*wp-content*" -o -path "*wp-includes*"
but it lists files, not directories :-(
I need to list all subdirectories of 2 folders which name match wp-content and wp-includes
i tried this:
find /home/username/public_html/ -path "*/wp-content/*" -o -path "*/wp-includes/*" -type d
find /home/username/public_html/ -type d -path "*wp-content*" -o -path "*wp-includes*"
but it lists files, not directories :-(