Tell "ls -laR /": do not recurse into other filesystems -


i "ls -lar /" on system , offsite backup results. if disaster strikes, i'll @ least know files i've lost.

i started sshfs mounting remote systems, yielding 2 problems:

  • "ls -lar" on sshfs mounted systems painfully slow

  • i don't need "ls -lar" results of remote filesystems, @ least not locally.

what's ls equivalent of find's "-xdev" option or du's "-x" option?

in case there's better way it, goal efficiently list of files on hard drive size, owner, mod time, etc. in other words, info "ls -l" provide.

i've considered: "find / -xdev | xargs ls -la", sense less efficient.

there no such option ls itself, can do

find / -xdev -ls 

or if not sufficiently detailed, possibilities offered -printf option.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -