Un formato disperso desde el comando stat

0

Me gustaría verificar el estado de mis directorios

    $ ls
    Foo   Bar  Zoo

Comprueba su estado

    $ ls | xargs stat -x
      File: "Zoo"
      Size: 384          FileType: Directory
      Mode: (0755/drwxr-xr-x)         Uid: (  501/ ..)  Gid: (   20/   ..)
    Device: 1,4   Inode: 8603392907    Links: 12
    Access: Fri Mar 30 09:12:06 2018
    Modify: Wed Mar 28 10:07:32 2018
    Change: Wed Mar 28 10:07:32 2018
      File: "Bar"
      Size: 160          FileType: Directory
      Mode: (0755/drwxr-xr-x)         Uid: (  501/  ..)  Gid: (   20/   ..)
    Device: 1,4   Inode: 8604964551    Links: 5
    Access: Fri Mar 30 09:12:06 2018
    Modify: Thu Mar 29 20:48:46 2018
    Change: Thu Mar 29 20:48:46 2018
      File: "Zoo"
      Size: 416          FileType: Directory
      Mode: (0755/drwxr-xr-x)         Uid: (  501/  ..)  Gid: (   20/   ..)
    Device: 1,4   Inode: 8603830641    Links: 13
    Access: Fri Mar 30 09:28:54 2018
    Modify: Fri Mar 30 09:28:54 2018
    Change: Fri Mar 30 09:28:54 2018

El formato es denso, prefiero un formato disperso para distinguir cada archivo o directorio de manera intuitiva.

    $ ls | xargs stat -x
      File: "Foo"
      Size: 384          FileType: Directory
      Mode: (0755/drwxr-xr-x)         Uid: (  501/ ..)  Gid: (   20/   ..)
    Device: 1,4   Inode: 8603392907    Links: 12
    Access: Fri Mar 30 09:12:06 2018
    Modify: Wed Mar 28 10:07:32 2018
    Change: Wed Mar 28 10:07:32 2018

      File: "Bar"
      Size: 160          FileType: Directory
      Mode: (0755/drwxr-xr-x)         Uid: (  501/  ..)  Gid: (   20/   ..)
    Device: 1,4   Inode: 8604964551    Links: 5
    Access: Fri Mar 30 09:12:06 2018
    Modify: Thu Mar 29 20:48:46 2018
    Change: Thu Mar 29 20:48:46 2018

      File: "Zoo"
      Size: 416          FileType: Directory
      Mode: (0755/drwxr-xr-x)         Uid: (  501/  ..)  Gid: (   20/   ..)
    Device: 1,4   Inode: 8603830641    Links: 13
    Access: Fri Mar 30 09:28:54 2018
    Modify: Fri Mar 30 09:28:54 2018
    Change: Fri Mar 30 09:28:54 2018

¿Cómo lograrlo?

    
pregunta JawSaw 30.03.2018 - 06:14

0 respuestas

Lea otras preguntas en las etiquetas