os/move_to_bin library
Functions
-
moveToBin(
File file, {Run? runner, Directory? binDir, bool sudo = true}) → Future< File?> -
Moves a
fileto the system's bin folder. IfbinDiris not specified, the system's bin folder will be used. Ifrunneris not specified, a new Run instance will be used. Ifsudois true, the file will be moved using sudo.