Trending December 2023 # How To Use Redis Getset And Incr Command? # Suggested January 2024 # Top 19 Popular

You are reading the article How To Use Redis Getset And Incr Command? updated in December 2023 on the website We hope that the information we have shared is helpful to you. If you find the content interesting and meaningful, please share it with your friends and continue to follow and support us for the latest updates. Suggested January 2024 How To Use Redis Getset And Incr Command?

Introduction to Redis GETSET

Redis getset is used to replace the set with GET argument while writing or migrating the new code. The redis getset function sets a key to a value automatically and returns the previous values that were saved in the key. Getset will return an error if the key exists but does not contain a string value. It discards the previous key that was associated with the set operation.

Key Takeaways

Redis getset is used to assign the new value to the specified key and also displays the old value in the same command.

If the key does not exist then it will return the nil value in the output. If the key is present, then it will display the old value.

What is Redis GETSET?

We are using getset with the INCR for counting by using atomic reset. It automatically sets the specified key and string value, which was previously returning the old value. In cases when the key is present but does not contain a string value, GETSET will return an error. Setting the key and value is performed with the GETSET command. We are using the getset key with a new key that we created in a database. We must use the key name parameter with the redis getset command.

Start Your Free Software Development Course

Web development, programming languages, Software testing & others

How to Use Redis GETSET?

To use the GETSET command we need to install the redis server.

1. First step we are to install the redis server in the ubuntu system. We are installing the same by using the apt command as follows.


# apt install redis-server



# redis-server


3. In the third step we are login into the redis cli for executing the GETSET command as follows. To login in the redis cli, we are using the below command as follows.


# redis-cli


4. While starting the redis server, now in this step we are executing the getset command. We are using the key name as key_getset and defining the value as “test key” as follows.


GETSET key_getset "test key"


5. In the above example we can see that the first time it returns nil in output. However, if we use the same key again, it will retrieve the value that we set the first time. In the below example,  we can see that we are using the same key name as key_getset but we are using different values, then it will retrieve the value that we set the first time i.e. “test key” as follows.


GETSET key_getset "test key example"


Redis GETSET Command

Basically, the GETSET command is used to get the first value from the key that we have set, as well as to set the new value that we define when we execute the getset command. Redis getset command accepts two parameter names as the name of the key and value of the key which we define.


GETSET key name key value

At the time of using the getset command in redis, we need to use two parameters.

Below is the description of the redis getset parameter:

GETSET – This command is used in redis to get a new value from the key and display the old value.

Key name – This is the name of key that we are using with getset command in redis.

Key value – This parameter is nothing but the value which we define for the specified key.

The below example shows how the GETSET command is working. We are setting the first value by using the set command. Then we are using getset command on the same key and again set the value. After using the getset key we are using the get command to retrieve the value which was set by getset command.


SET key31 “my key” GETSET key31 “my key1” GET key31

Using the GETSET key we are defining the key name by using the getset command. In the below example, we are defining the key name as key32 as follows.


GETSET key32 "redis geset key" GET key32


Redis GETSET New Key Value

If the key does not exist in the database server, the getset command creates a new key and assigns the value defined with the key. When creating a new key, it will return a nil value in the output. In the example below, we can see that we are creating a new key called key33, but this key does not exist in the DB server, so it is creating and returning a nil value.


GETSET key33 “val33”


After executing the getset command, we can now execute the same key with a different value, and it will return the result as the value we set during the previous execution, as shown below.


GETSET key33 "val34"


Suppose the key does not exist in the database then the GETSET command creates a new key. In the below example, we are creating a new key with the GETSET command as follows.


GETSET key61 "val61" GETSET key61 "val62"

Redis GETSET INCR Command

We are using the redis getset command with incr to display the value. For counting and atomic number reset, we use the getset command with incr. We can refer to this process as incr against the key. In the following example, we are calling the process against the key name key71 every time an event occurs, but we need to get the value from the counter from time to time and automatically reset the value. We do the same thing by using the getset command with the key name key71 and setting the value to 0.

Below example shows how the incr command works with the GETSET command as follows:


INCR key71 GETSET key71 “0” GET key71


In the below example, we are using integer value while creating the key with the incr command as follows.


INCR key72 GET key72 GETSET key72 3 GET key72



Given below are the FAQs mentioned:

Q1. What is the use of the GETSET command?

Answer: We’re using the GETSET command to display the old value and assign the new value to the key we created with the getset command.

Q2. What is the use of the incr command in the redis getset command?

Answer: The incr command with the getset command is used in the counting of atomic reset. We are using the same key with the incr and getset commands.

Q3. Which parameter do we need to pass at the time of using the redis getset command?

Answer: We need to pass two parameters at the time of using the GETSET command i.e. key name and key value.


We are using getset with the incr for counting by using atomic reset. The Redis getset command sets the specified redis key and string value, which was previously returning the old value. When the key exists but the value of the string is not present, Getset will return an error. In it, the previous key associated with the set operation is discarded.

Recommended Articles

This is a guide to Redis GETSET. Here we discuss the introduction, use, redis GETSET command, new key value, and INCR command. You can also look at the following articles to learn more –

You're reading How To Use Redis Getset And Incr Command?

How To Use Forfiles Command On Shared Network Folder On Windows 10

On Windows 10, ForFiles is a useful command-line tool designed to select files using different criteria and then run a command on them. Typically, this command is more commonly use to delete a group of files that meet certain criteria. For example, files that have not been modified in a specific number of days. 

The only caveat with ForFiles is that it only runs locally, meaning that you cannot use it to select and execute commands on files stored in a network folder. However, it is possible to complete this task if you map the network folder on Windows 10 and then run the command in the mapped drive. You can even create a script to schedule a task to run the command automatically.

In this guide, you will learn the steps to use the ForFiles command on a shared network folder on Windows 10.

How to use ForFiles command on network folder on Windows 10

To delete files on a network shared folder with ForFiles, use these steps:

Type the following command to map the network folder you want to run the ForFiles command and press Enter:

net use z: \networkSharefiles /user:userName PaZZw0rd

In the command, change “z” for the drive letter you want to assign to the mapping and replace “\networkSharefiles” for the shared folder path.

Quick tip: The username and password are optional depending on the folder sharing permissions.

Type the following command to remove files that have not been changed in the last 30 days and press Enter:

ForFiles /p "C:PATHTOFOLDER" /s /d -30 /c "cmd /c del /q @file"

In the command, change “C:PATHTOFOLDER” for the path to the folder that you want to delete files, and change /d -30 to select files with a last modified date.

Type the following command to remove the network folder mapping and press Enter:

net use z: /delete

In the command, replace “z” for drive letter that corresponds to your mapping.

Once you complete the steps, the command will run in the network location you specified.

ForFiles options breakdown

Here are the descriptions of the options used with the ForFiles command in this guide:

/p — indicates the pathname to start searching.

/s — instructs ForFiles to search inside subdirectories.

/d — specifies the last modified date for a file.

/c — instructs ForFiles to execute command, which needs to be wrapped in double-quotes, the default is “cmd /c del @file”.

/q — allows to delete folders without requiring confirmation. 

If you want to learn more about these switches, use the ForFiles /? Command.

How to schedule ForFiles command on network folder on Windows 10

If you want to automate the process of deleting files with ForFiles, you first need to create a script and then execute it with a scheduled task using the Task Scheduler.

To delete files on a network shared folder automatically, use these steps:

Open Start.

Copy and paste the following code in the text file:

net use z: \PATHTONETWORKFOLDER ForFiles /p "z:" /s /d -30 /c "cmd /c del /q @file" net use z: /delete

Customize the script to your preferences. For example, in the first line, make sure to change the “z” for the drive letter you want to use to map the shared folder and specify the path of the network folder you want to map to delete files. In the second line, change “z” for the drive letter that correspond to map drive, and change /d -30 to select files with a last modified date. Finally, in the third line, replace “z” with the drive letter of the network map drive.

Select the Save as option.

Save the file with a descriptive name and .bat extension. For example, chúng tôi .

Open Start.

In the “Name” box, enter a name for the task. For example, Picture Cleanup

In the “General” tab, under the “Security options” section, select the Run whether user is logged on or not option. (This is the option that will make the command window not to appear when the task runs automatically.)

Clear the Do not store password option.

Using the “Begin the task” drop-down menu, select the On a schedule option.

Under “Settings,” specify when you want the task to run (for example, On time, Daily, Weekly, Monthly). For the option you select, make sure to specify the Start settings on the right side.

Using the “Actions” drop-down menu, select the Start a program option.

Allow task to be run on demand.

Run task as soon as possible after a scheduled start is missed.

If the task fails, restart every.

After you complete the steps, the task will run on the schedule to remove the files in the network location that are older than the number of days you specified.

This guide is focus on deleting files that meet certain criteria from a network folder, but this is an example. You can use ForFiles to run many other commands.

How To Install And Use Salesforce Cli?

What is Salesforce CLI?

A Salesforce Command Line Interface (CLI) is a free and open-source tool that streamlines and automates processes across the Salesforce platform.

Ultimately, Salesforce CLI accelerates and simplifies the development process for developers and administrators. Within a Salesforce organization, It makes build automation and development simpler. It gathers numerous Salesforce APIs.

Start Your Free Data Science Course

Hadoop, Data Science, Statistics & others

It can be programmed and run through the terminal, which facilitates automation. Users can use the Salesforce CLI to manage tokens and transfer source data salesforce metadata across numerous environments.

Key Takeaways

Salesforce CLI simplifies the automation of Salesforce development and builds processes.

It manages and creates orgs, synchronizes sources to and from orgs, and installs packages.

It can gather every tool required for development and issue orders to a Salesforce organization.

The Salesforce Developer Experience, or SFDX, is primarily linked to the Salesforce CLI.

How to Install Salesforce CLI on Mac & Windows? 1. Setup the CLI on Mac OS

A.pkg file is to install Salesforce CLI on macOS.

Download the .pkg file.

(Image Credit: Salesforce)

Restart your Terminal windows or IDEs once the installation is complete to ensure that the Salesforce CLI executables are accessible.

2. Setup the CLI on Windows

A .exe file is to set up Salesforce CLI on Windows.

Download the .exe file.

Make the Salesforce CLI executables accessible by restarting your command prompts, PowerShell windows, or IDEs when the installation is complete.

How to Use Salesforce CLI?

It’s time to start using the Salesforce CLI, so install it first. The simplest method uses a command that details the CLI’s actions.

Try executing the following command:

sfdx commands

(Image Credit: SalesforceBEN)

All of the commands that the CLI supports are output by this command. One of the four words alias, config, auth, or force starts each of these commands. These logical collections of our orders are “namespaces,” each performing a particular set of functions.

1. Alias

This property controls the login aliases. Use these login credentials with the CLI. Choose a user-friendly name, such as “UAT” or “Prod.”

sfdx alias:list

2. Auth

sfdx auth:web:login -a DeveloperSandbox

3. Config

You can set the configuration variables here for other programs. Several factors may be involved, ranging from the API version to the command’s default username.

sfdx config:get defaultusername

4. Force

It is the biggest and most used namespace since it is where most CLI magic occurs. It includes (but is not limited to) the following instructions for communicating with an organization.

Deployment and metadata retrieval.

Creating orgs or sandboxes from scratch.

Constructing both first- and second-generation packages.

Running secretly to the top.

Transferring and importing data

sfdx force:source: deploy -m CustomObjects

How would one deploy this Apex class, for instance? To accomplish this, each command has parameters provided to demonstrate the intent. A single hyphen precedes the shorter parameter name after the command name (-w or -wait, for example) or a double hyphen (-) when using the full parameter name.

Specify a boolean value using these arguments alone or combined with other parameters to specify what those parameters should return.

sfdx force:source: deploy -m ApexClass: MyApexClass

Data Loader CLI

Data Loader in two different ways:

1. User Interface

The user interface allows one to specify configuration parameters and CSV files for import and export.

The field mappings that correspond in your import file to the field names in Salesforce interactively.

2. Command Line (Only Available for Windows)

When using the command line, one specifies the files’ settings, data sources, mappings, and actions.

One can configure a Data Loader for automated processing using this.

Final Thoughts

Working with your Salesforce org is easier with the Salesforce CLI, a command-line interface. You can use CLI to develop and manage orgs, synchronize sources to and from orgs, design and install packages, and more. It is beneficial because Salesforce CLI is simple to use and doesn’t require extensive training before use. Commands for the Salesforce CLI are typically related to SFDX.

Frequently Asked Questions(FAQs)

Given below are the FAQs mentioned:

Q1. What does CLI stand for?

Answer: A command line interface (CLI) program executes operating system operations by taking text input. It was the only way to interface with computers in the 1960s at computer terminals. PC systems like MS-DOS, Apple DOS, and Unix systems in the 1970s and 1980s used command line input.

Q2. Does Salesforce CLI require Java?

Answer: Installation of JDK version 17 (recommended), JDK version 11, or JDK version 8 is necessary. Installing one of the recommended versions is essential, even if another version of Java is already present. As instructed in our Salesforce Extensions instructions, install Java.

Q3. Is VS code compatible with Salesforce CLI?

Answer: The Salesforce CLI deals with local source files and runs commands against Salesforce org. Even if one doesn’t want to use the Salesforce CLI directly, install it on the computer because Salesforce Extensions for VS Code uses it in the background.

Q4. How does CLI work? Q5. What does the Salesforce SFDX CLI do?

Answer: Essentially a command line tool, The Salesforce Developer Experience Command Line Interface (SFDX CLI) makes developing it much simpler and more enjoyable for the Salesforce Platform.

Recommended Articles

We hope this EDUCBA guide on “Salesforce CLI” was helpful. For further information on Salesforce-related topics, EDUCBA recommends these articles –

How To Upgrade Ubuntu From The Command Line

Ubuntu’s Update Manager makes it relatively easy to upgrade your installation to a new major release. The utility’s graphical interface guides you through a step-by-step wizard that should be easy to follow.

But there are times when you cannot use a graphical utility – for example, on servers you don’t have access to a graphical interface. In this case you are forced to use the command line to upgrade Ubuntu.

However, this is not the only scenario where this is useful. The command line interface usually lets you see more about what is going on. Most command line utilities output a lot of text while they work. Consequently, you might prefer this method if you want to see the details of the upgrade as it happens. You can also more easily spot potential errors if they arise.

do-release-upgrade Command Line Switch “-d”

The utility to upgrade Ubuntu from a previous version to an upgraded version is called do-release-upgrade. It’s actually a script written in the Python programming language.

Normally, the script will upgrade from one stable release (or LTS – Long-Term Support) to the next. For example, it might update Ubuntu 16.04 to Ubuntu 18.04. However, when a new LTS version appears, you cannot upgrade to it until its first point release. What this means is that if you’re currently using 16.04.5, you can’t upgrade to 18.04. You have to wait until 18.04.1 is launched. It’s recommended to actually wait for the first point release. The first new LTS release might still hide nasty bugs, but if you really need the new LTS, as soon as it comes out you can use a command line switch to force the utility to upgrade. So if 18.04 just came out, you can upgrade with




before 18.04.1 comes out. Otherwise, if 18.04.1 is already available, use the command without the switch:


do-release-upgrade How to Upgrade Ubuntu with do-release-upgrade Command

Before the upgrade it’s recommended that you temporarily disable any third-party repositories, such as PPAs or entries you added in “/etc/apt/sources.list” or “/etc/apt/sources.list.d/.” If you know you didn’t add any repositories from other providers except Ubuntu, you can, of course, skip this step.

Some packages from these repositories might interfere in unexpected ways with new packages from the next Ubuntu release. Afterwards, run sudo apt update to refresh package information. Then, use a command such as sudo apt autoremove nginx to remove programs you have installed from third-party providers.

If the do-release-upgrade command is not available on your system, install it with





It’s usually installed by default though.

Your software packages have to be up to date before upgrading to a new Ubuntu release. Update all packages on your system.


apt update



apt upgrade

Upgrading to Short-Term Support Ubuntu (Optional)

Even numbers, such as 18.04, indicate a long-term support release (LTS). Odd numbers, such as 19.04, indicate a development, short-term support release. If you’re currently on an LTS version and want to upgrade to the next LTS, skip the steps in this section. But if you’re currently on an LTS version, such as 18.04, and want to upgrade to 18.10 or 19.04 (whichever is the next available), edit this file:









Change Prompt=lts to Prompt=normal. Press Ctrl + X, then y followed by Enter to save the file.

If You’re Upgrading Your Local Computer

Although you can open a terminal emulator on your graphical desktop, this presents a problem. When the graphical server gets upgraded, it might get restarted. This would, in turn, make you lose your terminal session, so it’s better to log out from your graphical session. Afterward, press Alt + Ctrl + F2 or Alt + Ctrl + F3 and log in on the TTY console before starting the upgrade script below.

Start Ubuntu Upgrade

Simply start the upgrade script.



Now, carefully follow the steps in the wizard. They will be slightly different depending on your upgrade scenario. For example, when connected to an SSH session, you will get an extra step like the one in the following image.

In later steps you will almost certainly be asked what to do with configuration files that have changed in new package versions.

If you have changed the mentioned configuration file, you might want to type “N” to keep your changes. The same is true if your server provider has made changes to those files. This is something that you will have to investigate yourself. If you or your provider didn’t make any special changes, type “Y” to pull in the updated configuration file.


The upgrade process is not complicated, but complications may arise. It usually depends a lot on how “clean” your system is (no third-party repositories). After the upgrade utility finishes its job, all you have to do is reboot your machine. Normally, the script will give you the option to reboot, but if it doesn’t, you can just run:


systemctl reboot

or simply:



Provided you don’t run into any upgrade bugs or bugs with new software installed, everything will work perfectly once the machine is rebooted.

Alexandru Andrei

Fell in love with computers when he was four years old. 27 years later, the passion is still burning, fueling constant learning. Spends most of his time in terminal windows and SSH sessions, managing Linux desktops and servers.

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Sign up for all newsletters.

By signing up, you agree to our Privacy Policy and European users agree to the data transfer policy. We will not share your data and you can unsubscribe at any time.

How To Create And Use Polls In Slack

When you want to gather opinions from your staff or team members, why not try a poll in Slack? If you already use Slack for communications, this is the ideal spot.

Table of Contents

Note: You can use the following instructions in the Slack desktop app or on the web. In addition to the links provided, you can obtain the apps from the Slack App Directory.

Create a Slack Poll With Simple Poll

Once you add Simple Poll to Slack, select it in the Apps section of the left-hand menu or use a Slack shortcut.

To see the poll templates, choose Polls in the drop-down list at the top. You can then choose a template by selecting Create This Poll next to it. You can customize the template you pick as well, so you aren’t limited to the question and answer options it provides.

To create a poll from scratch, choose Create a Poll at the top.

When the Create Poll window opens, begin by choosing a Slack channel to post your poll. Then, add or customize the question or topic for the poll.

Next, select how you want others to respond, whether you want to allow only one answer or more than one. The latter is only available with paid plans.

Then, add or customize each answer option. You can add more using the

Add another option


Once you set up these items for your poll, you can adjust the settings. Check the boxes for making responses anonymous or allowing respondents to add more options as you like. You can also display the poll results in real-time or after the poll ends using the corresponding drop-down box.

Finally, you can schedule the poll for a particular date and time or post it immediately.



to see how your poll will look. To make changes, select


, to post or schedule it, select

Create Poll


View Smart Poll Results

When you set up your poll, you have the option to display the results in real-time or when the poll ends as described earlier. You can also download the results as a CSV file if you want to save them.

Results in Real-Time

Results After Closing the Poll

To see the results after you close the poll, select the three dots on the top right of the poll and pick Close Poll.

You’ll be asked to confirm that you want to close the poll and display the results. Select Yes to continue.

You as well as others in the channel then see the results on the poll itself with usernames or check marks.

Results in a File

To obtain a CSV file of the poll results, select the three dots on the top right of the poll and pick Manage Poll.

Then, choose Export Results in the pop-up window.

You’ll be directed to Simple Poll on the web and the results will automatically download. Head to your browser’s default download folder to obtain the file.

Additional Smart Poll Actions

Along with creating and closing a poll, you can edit, recreate, or delete a poll. Select the three dots on the top right of the poll to select one of these actions.

Manage Poll

: Edit the poll, change its schedule, or export the results.

Recreate This Poll

: Duplicate the poll, optionally make changes to it, and post it as a new poll.

Delete Poll

: Remove the poll and its results from the channel.


: You will not be asked to confirm, so be sure you want to delete the poll before picking this action.

You can also use the Smart Poll Dashboard on the web. To visit your Dashboard, select the Smart Poll app in Slack, head to the About tab on the top right, and pick App Homepage.

Sign in with the account you used to add the Slack app and then view your poll options, surveys, and settings.

Note that some features are not available with Smart Poll’s free plan.

Create a Slack Poll With Polly

After you add Polly to Slack, select it in the Apps section in the left-hand menu or using Slack shortcuts. Near the top of the following screen, pick Create a Polly.

To get a jumpstart on the poll, you can choose your audience, look at the poll templates, or create a poll from scratch.

If you choose an audience, you’ll see another prompt or two after that to narrow down the options. If you see a poll you want, select Use to the right.

If you want to view the templates, you can then use the Quick Search at the top or see options by category. When you find the template you want, select Use on the right.

When you pick one of these audience-driven or category templates, you can then customize the poll options and rearrange the questions if you have more than one.

To create a poll from scratch, choose that option in the pop-up window. Then, write your poll question and pick the question type such as multiple choice, agree/disagree, open ended, or a number rating scale.

Next, select the Slack channel where you want to post the poll or check the box to send it as a direct message.

For certain question types you have additional options like scheduling, anonymous responses, and when to display the results, select




to adjust these options.

When you finish setting everything up for your poll, select



Send Polly

to post it.

View Polly Results

Depending on how you set up your poll, you can display the results in real-time or when the poll closes as described above. You can also download a CSV file with the results if you upgrade to a paid plan.

Results in Real-Time

Results After Closing the Poll

To view the results after you close the poll, you can either close it manually or wait for Polly to do so in one week.

To close a poll yourself, select the three dots on the top right and pick Settings. Choose Close and confirm.

Additional Polly Actions

As well as creating and closing a poll, you can edit, reopen, or delete a poll, just like with Smart Poll. Select the three dots on the top right of the poll and pick Settings.

You’ll then see buttons to edit the poll, reopen a closed poll with a new closing date, and delete a poll. Select the action you want and follow the subsequent prompts.

You can also use Polly on the web. To visit your Polly Dashboard, select the Polly app in Slack, go to the About tab at the top, and pick App Homepage.

Then, sign in with the account you used to add the app to Slack and view your polls, activity, and templates.

Note that some functionality is only available with Polly’s paid plans.

Creating a poll in Slack with these apps is not only easy, but fun at the same time. Whether you have a serious, business-related question or an entertaining, amusing one to boost morale, take one of these apps for a spin.

How To Use Drag And Drop On Ipad Pro

“Drag and Drop” feature of iOS 11 is a boon for iPad. It has not just simplified the process of moving contents but also made the tablet more functional. For instance, you can use Drag and Drop on your iPad running iOS 11 to quickly move contents like images, URLs, documents and more from one app to the other or from one folder to the other with optimal convenience.

What’s more, you can even move multiple files using Drag and Drop functionality on your iPad. It has been integrated throughout iOS. You can use it at the following places such as Home screen, Dock, Reminders, Calendar, Messages, Spotlight, Files, Safari, Contacts, iBooks, News, Notes, Photos, Maps, Keynote, Pages, and Numbers.

Drag and Drop Files/Apps on iPad Pro

How to Move Content from One App to Another on iPad

Step #1. Open any app which content you want to move to another app. In this test, I’m going to open Photos app.

Step #2. Next, you need to touch and hold the image you wish to move.

Step #3. Now, you have to drag the content towards the Home button.

Now, you have three options:

Press the Home button to quickly go to the Home screen

Double-press the Home button to quickly access all the recently opened apps in the App Switcher. Alternately, you can use your other hand to swipe up using four or five fingers to access App Switcher

Use your other finger to swipe up from the bottom of the screen to access Dock

I’m going to use all these three options separately to move contents.

#1. Press the Home button using your other finger while still holding on the image. Next, locate the app in which you want to drop the content. You can also pull down from the top of the screen to bring up Spotlight using your other finger to access the recently used apps. Besides, swipe up from the bottom to access the Dock. Next up, you need to hover over to the app → Respective folder (or particular conversation if you are using Messages) and drop the file.

Note: The moment you begin to head into the app, a “+” sign will appear at the top of the content.

#2. Assuming you are holding onto the content you want to move, double press on the Home button. Next, App Switcher will open → head into the app in question and drop the content to the desired folder/place.

#3. When holding on the content, swipe up from the bottom of the screen to bring up Dock → now hover over into the app and then drop the content.

How to Drag and Drop Multiple Files from One App to Another on iPad Pro

You can also move multiple contents from one app to the other using the drag and drop functionality.

Step #1. Open any app which content you wish to move. I’m going to open Files app.

Step #2. Tap on Browse → Select location i.e. iCloud Drive.

Step #3. Open the folder → Tap and hold files/docs → Then bring up Dock/App Switcher or go to the Home screen to drop the content following the above-mentioned method.

How to Move Documents from One Folder to the Other in Files App Using Drag and Drop

Step #1. Open Files app on your iPad.

Step #2. Tap on Browse → Select the location where you have kept the docs. I’m going to select iCloud Drive → Pages → Tap and hold on the docs/files you wish to move.

Step #3. While still holding the content → Tap on the back button at the top right corner.

Step #4. Next up, head on to the folder you wish to drop your content in.

How to Share Location from Maps App Using Drag and Drop in iOS 11 on iPad

You can also share location or address from Maps app with the use of Drag and Drop on your iPad.

Step #1. Open Maps app on your iPad.

Step #2. Head over to the location you wish to share. Either search it or find it on the Map and tap on.

Step #3. Next, you need to touch and hold the location address on the left panel.

Step #4. Next up, bring up Dock by swiping up from the bottom or double press the Home button to access App Switcher. Then, head into the Mail app or Messages to share it. I’m going to open Gmail.

Similarly, you can move contents both within an app and between apps. As DAD functions system-wide, you will be able to easily transfer them.

Video: How to Use Drag and Drop in iOS 11 on iPad Pro [Complete Guide]

Your Take?

Thanks to the improved multitasking, iPad Pro has become immensely user-friendly. Though I’m still very much fond of MacBook Pro, the portability and versatility of the iPad have impressed me a lot. That’s why; I prefer to carry it with me whenever I’m on the drive. What is your thought about the latest tablet from Apple?

You may also like to explore:

Author Profile


Jignesh Padhiyar is the co-founder of chúng tôi who has a keen eye for news, rumors, and all the unusual stuff around Apple products. During his tight schedule, Jignesh finds some moments of respite to share side-splitting content on social media.

Update the detailed information about How To Use Redis Getset And Incr Command? on the website. We hope the article's content will meet your needs, and we will regularly update the information to provide you with the fastest and most accurate information. Have a great day!