gsync local_folder -d gdrive_folder -k, will kill that specific job. Kill background jobs, following are methods to do it:īy specifying local_folder and gdrive_folder,Į.g. You can also use it with multiple inputs by adding this flag. To show info of multiple jobs, use this flag multiple times,Į.g: gsync -i pid1 -p pid2 -p pid3. These are the methods to do it:īy specifying local folder and gdrive folder of an existing job,Į.g: gsync local_folder -d gdrive folder -i Specify a pid number, used for –jobs or –kill or –info flags, multiple usage allowed. Use -j/–jobs v/verbose to show additional information for jobs.Īdditional information includes: CPU usage & Memory usage and No. See all background jobs that were started and still running. Specify gdrive folder name, if not specified then local folder name is used. Read this section thoroughly to fully utilise the sync script, feel free to open an issue if any doubts regarding the usage. Note: Giving gdrive_folder is optional, if you don’t specify a name with -d/–directory flags, then it will upload in the root folder set by gupload command.Īlso, gdrive folder creation works in the same way as gupload command.ĭefault wait time: 3 secs ( amount of time to wait before checking new files ).ĭefault gupload arguments: None ( see -a/–arguments section below ). In the local folder, all the contents present or added in the future will be automatically uploaded. Here, folder_name is the local folder you want to sync and gdrive_folder is google drive folder name. This repo also provides an additional script ( sync.bash or sync.sh ) to utilise gupload for synchronisation jobs, i.e background jobs.
0 Comments
Leave a Reply. |