Última atividade há um ano

Follow file transfers or similar actions in bash

Jarno Rankinen revisou este gist há 4 anos. Ir para a revisão

2 files changed, 3 insertions, 1 deletion

follow.bash(arquivo criado)

@@ -0,0 +1,3 @@
1 + #!/bin/bash
2 +
3 + while true; do echo -ne "$(du -sh -BM $1)\r"; sleep 1; done

gistfile1.txt (arquivo excluído)

@@ -1 +0,0 @@
1 - while true; do echo -ne "$(du -sh -BM PATH/TO/DIRECTORY/OR/FILE)\r"; sleep 1; done

Jarno Rankinen revisou este gist há 4 anos. Ir para a revisão

1 file changed, 1 insertion

gistfile1.txt(arquivo criado)

@@ -0,0 +1 @@
1 + while true; do echo -ne "$(du -sh -BM PATH/TO/DIRECTORY/OR/FILE)\r"; sleep 1; done
Próximo Anterior