#!/bin/sh find /backup/include -printf '%s %p\n' | while read size name; do if [ "$size" -gt 2000000000 ]; then mv -i "$name" /backup/exclude fi done
No comments:
Post a Comment