I hereby claim:
- I am nanodragon999 on github.
- I am nanodragon999 (https://keybase.io/nanodragon999) on keybase.
- I have a public key ASCTxUCLuQYWe2DRddHMWKUMWDlBV18eZJAwjWePE20vzgo
To claim this, I am signing this object:
system.listMethods | |
system.methodExist | |
system.methodHelp | |
system.methodSignature | |
system.multicall | |
system.shutdown | |
system.capabilities | |
system.getCapabilities | |
add_peer | |
and |
I hereby claim:
To claim this, I am signing this object:
target_number=1 | |
target_folder="folder "$target_number"/" | |
#set up the switch folder function, not working correctly yet though | |
file_count=$(expr $(\ls ${target_folder} | wc -l) - 3) #count the number of files, too slow so need to remplace with counting transfer. | |
inotifywait -m -q -e close_write --format %f . | while IFS= read -r file; do | |
#watch a directory/folder for files that have their file descriptor closed, then read the filename of the file printed by inotifywait. | |
if [ file_count=>400000 ]; then | |
#if the file count exceed 400k (or transfer in the preferred case) |