• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Guide: [Difficulty:Intermediate] Run Shell Scripts in Tasker(3)

Search This thread

loubot

Member
Jan 13, 2016
12
8
Context: You want to be quickly informed about your use of internal and external storage. Let's do it from Tasker.

Requirements: Root
Task
1. Run Shell> Command: df Use Root. Store Output In %Storage (allows you to get info about all the storage on your phone. For the purpose of this task we are going to use only a small part of it.)
2.Variable Split >Name: %Storage Splitter: /storage/ (Selects only part of the information)
3. Notify> Title: External Sd Card Text: %Storage3 ( Displays info about the amount of storage available and what is already used for your Sd Card)
4. Notify> Title: Internal Storage Text: %Storage4 ( Displays info about your internal storage)
If you want to trigger this action using a voice command, download Auto Voice from the Play Store and set a Profile:
State> Plugin> Auto Voice> Recognized
Check Event Behaviour
Command Filter: Show my storage status ( or anything you want)
Accept and go back. Select the task you created.
 
  • Like
Reactions: MXKM and Zobat

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Context: You want to be quickly informed about your use of internal and external storage. Let's do it from Tasker.

    Requirements: Root
    Task
    1. Run Shell> Command: df Use Root. Store Output In %Storage (allows you to get info about all the storage on your phone. For the purpose of this task we are going to use only a small part of it.)
    2.Variable Split >Name: %Storage Splitter: /storage/ (Selects only part of the information)
    3. Notify> Title: External Sd Card Text: %Storage3 ( Displays info about the amount of storage available and what is already used for your Sd Card)
    4. Notify> Title: Internal Storage Text: %Storage4 ( Displays info about your internal storage)
    If you want to trigger this action using a voice command, download Auto Voice from the Play Store and set a Profile:
    State> Plugin> Auto Voice> Recognized
    Check Event Behaviour
    Command Filter: Show my storage status ( or anything you want)
    Accept and go back. Select the task you created.