How to Delete Files Using Terminal?

The terminal is used to perform a number of operations on both Mac and Windows computers such as creating files, to show hidden files, changing the file format and much more. Mac terminal is also used widely for deleting files from the system. The reason why user prefers terminal rather than normal deletion is, when you delete using delete option, the files will go to trash but when you delete with terminal the files won’t go to trash.

Here is how to delete files using Mac terminal:

Terminal icon

  • Open Mac terminal
  • Type rm –Rf
  • Drag the file name from Mac desktop into terminal window and then release it
  • Or else you can also type file’s destination manually
  • Once you type the command, click on return
  • Finally, your file will be deleted from desktop

So the full command looks something like this:

rm –Rf /Users/UserName/Desktop/filename

The meaning of ‘rm’ command is to remove, and flag ‘R’ will help you to delete content from a directory. ‘f’ indicates force i.e. it causes the terminal to delete the file. You can skip ‘f’ to avoid error production during deletion process.

To delete directories or folder, follow below command….

There is a separate command to delete directories from Mac machine: rmdir. Let’s take a name of directory or folder is Document, and run the command:

rmdir Document

Note: This command is a bit risky as we can’t use –i command with this. And command can only delete empty directories

To delete everything, follow below command…

We have an option in rm command called –R or –r (recursive option). If you run rm command with –R on any folder, you are deleting that folder entirely along with its files, subfolders etc.


Rm –R Document

This will delete the folder permanently. You cannot undo this process nor recover it using the command prompt. If you want to get your data back then make use of this link recover deleted files from Mac terminal. To avoid such data risks you can use –i flag for protection.

Rm –iR Document

If you insert –i in the command then each time it will ask you to confirm before deleting anything. It is the best way to be on a safer side when it comes to data protection.


How to Fix “Windows was unable to complete the format” Error

Computer shows “Windows was unable to complete the format” error message while trying to format a memory card due to various reasons. Sometimes, you can fix this error just reinserting the memory card into your system. But, there are cases where it doesn’t work. If that is the case, then you need to follow some alternative methods.  Here I am going to explain all the cases where you may come across error- Windows can’t format my memory card and solution to fix this issue.

Format screen

Case 1: Memory Card with Unwanted Guest

Connecting a memory card to virus infected device invite inaccessibility and card corruption. Due to which you can’t format your card and may get “windows unable to format” error. For fixing this, you need to follow below mentioned methods-

Solution 1Antivirus Software

Install an antivirus software on your computer and scan entire memory card. Once antivirus software removes the virus, try to format the card. But even then the same problem persists, try next method to complete the format action.

Solution 2- Format using Command Prompt

  • Open command prompt
  • Type Format *(drive letter): fs:FAT32
  • Enter return and follow on screen instructions
  • After completion, type EXIT

If you are able to format the virus infected memory card using this method and end up losing data stored on it. Then, you can use formatted memory card recovery tool to get back your files.

Case 2: Memory Card with Infected Parts   

Memory card may have bad sectors due to various reasons. When the number of bad sectors on memory card increases, it becomes inaccessible and restricts you from formatting it. To format the memory card, you need to fix the bad sectors. Let’s see how to fix bad sectors and format memory card?

Solution 1: Fixing Bad Sectors

  • Connect memory card to Windows computer
  • Right click on memory card and select Properties
  • In properties window, click on Tools
  • Now, press Check Now button

Device Properties

  • Select “Automatically fix file system errors” and “Scan for and attempt recovery of bad sectors” options

Check Disk

  • Click on Start and wait for confirmation message

After fixing bad sectors on the memory card, try to format it. If it doesn’t work, try next solution.

Solution 2: Format through Disk Management

  • Press Windows + R key to open Run and enter msc

Command Prompt

  • In disk management window, select the memory card

Disk Management

  • Right click on memory card and hit Format option

If you fail to format your memory card using disk management, you can even use the command prompt to format it as explained in case 1.


How to Fix Blurry Videos in Windows Movie Maker?

It’s a universal fact that nobody likes blurry videos. They wash out user’s enjoyment. You’ll lose interest in watching the movie or video if it is blurry. So, is there any way to fix these blurry video files? Yes, you can easily remove blurriness from videos via Windows Movie Maker.

Blurry Movie

Windows Movie Maker (WMM) is a simple yet great tool for video creation and editing. Any novice user can use WMM on all versions of Windows. So, let’s have a look on how to use this Windows Movie Maker to fix your blurry videos. Here is the step by step guidance.

Method 1:  Just Change it

  • Launch Windows Movie Maker
  • Choose Click here to browse for videos and photos
  • Select your blurry video
  • Pull the video to Windows Movie Maker timeline (located at bottom of WMM window)
  • Opt Visual Effects tab present at top
  • Select and drag the effect that you like to add, into the timeline
  • Hit Save Movie Wizard button located under Finish Movie, at left side
  • Name the video and proceed
  • Go to Other Settings
  • Pick DV-AVIfrom drop-down
  • Save the file on new location

Method 2: Trial and Error

  • Open blurry video in Windows Movie Maker
  • Make changes that you want to do like- adding title, caption etc
  • Click on Project

  • Choose Standard option in Aspect ratio
  • If, video quality is normal then change Aspect ratio to previous
  • Save the video

Note: As you continue, you may experience blurriness in the video. At those points, keep changing Aspect ratio to get a quality video and finally save it.

Method 3: Get It Done in a Click                                        

Sometimes, Windows Movie Maker fails to remove complete blurriness from the affected file, especially when that video is corrupted. So, what can be done at those times? Well, no need to scratch your head. Here is the answer.

You need to use an automated way to repair your blurred video file when rest of the manual methods fails. Here is how you can do it:

Step 1: Download, install and launch Remo repair tool

Step 2: Open your blurry video and hit Repair key

Step 3: Preview the video and save it to any desired location.

Check-it: Ensure if all of your remaining videos are playing fine and only a specific set of videos are showing blurriness before you come to a conclusion that the video is corrupted.

Avoid the issue instead of fixing it:

If you learn, blurriness is introduced in videos due to corruption then pay attention to safeguarding your videos from this moment. It is wiser to look after your video file instead of spending time in fixing its issue. So,

  • Always save your important videos on healthy drive
  • Keep video files away from virus
  • Don’t play videos in incompatible players

How to Repair Damaged SD Card Using CMD?

Tiny, light-weighted SD cards are the best means for data storage and transfer. You can use these portable devices on Smartphone, camera, media player, game console, computer, etc. Due to its high Read/Write pace, SD cards are now being used in almost all digital devices.

But all these perks go worthless when a high-capacity, high-speed SD card is logically damaged. You can shun physical damage of SD card by protecting it using card cases. But, avoiding logical damage of SD card is little hard.

SD cards may get logically damaged due to improper ejection, virus, virus affected files, abruptly removing the card when it’s still processing, capturing images/videos during low battery, faulty firmware of card, etc. In all such cases, the SD card shows empty or will result in data loss.

But, as we know every problem has a solution, even logically damaged SD card can be fixed within a few steps. Both, in Windows and Mac we have one magical feature called Command Prompt (Terminal in Mac). Thus, by using simple and short commands we can easily fix logically damaged SD card.

So, here is the list of commands to repair your damaged SD card:

Note: It is suggested to recover data from damaged SD card before you getting started since these commands format your SD card completely.


Note: Hit Enter key after typing each command

  1. Connect your SD card to a computer
  1. Press Windows icon+R and type cmd to run Command prompt

Run Command

  1. Next, type diskpart

  1. Type list disk

List of all attached devices will be shown

  1. Type select disk 1 (in place of 1 type name of your SD card)

  1. Type clean

  1. Type create partition primary

  1. Type active

  1. Type select partition 1 (in place of 1 type name of SD card partition)

  1. Type format fs=fat32or format fs=ntfs based on your choice


  1. Launch Mac terminal

Mac Terminal

  1. Type diskutil verifyvolume /Volumes/[SD card drive letter]/

If any issues found then

  1. Type diskutil repairvolume /Volumes/[SD card drive letter] /
  2. Hit Repair Disk button

If SD card issues are fixed then close Mac terminal. If you get any error then repair the SD card using Disk Utility in Recovery Mode.


How to Fix SD Card that Won’t Read?

You should see the contents of an SD card as soon as you plug it into your computer, camera or mobile phone. In some cases, SD card takes a little time to initiate before finally allowing you to access its data. But, there exist a few situations where your SD card falls short to start and your device fails to read it, which happens with most SD card users. There are numerous distinct causes for SD card that won’t read or get damaged. Let’s look at them based on the device to which the card is connected. However, you can directly skip to the steps to know how to recover files from a damaged SD card.

  1. SD card not reading in phone/camcorder:
    Your phone/camera is compatible to read and access the SD card, but still, the card is not reading in phone/camera. This is because your card might be formatted in another device, which is not readable by your phone/camcorder. So, format the SD card in your phone or camera to be able to use it.
Caution:  Backup data from SD card before formatting it.
  1. SD card not reading in computer:

Your SD card is working fine in camera and phone, but it’s not readable in computer. This could happen because after viewing SD card photos, videos on phone/camera, people try to copy them to the system, but the system cannot read the same SD card. These sorts of problems arise due to some specific issues in driver, system and device. Let’s go through each cause and resolution.

  1. a) Card reader: A faulty card reader or USB cable would be the main culprit here.

So, the basic troubleshooting is to hook up the SD card with another system and verify if the issue lies with the previous system. If you feel the USB cable or card reader needs fixing, then do it.

Tip: Replace your faulty, old, worn-out USB adapters, card readers to get a permanent solution.
  1. b) Faulty driver: If your system has outdated, damaged or broken drivers then it cannot read SD card. So, update existing drivers or uninstall them. Do a fresh driver installation from scratch.
  2. c) Unsupported format: If SD card is formatted with a File System that your system doesn’t support, the computer will not be able to read the card. Check the File System of SD card, if it’s not compatible with your computer then assign it your computer with a compatible File System.
Note: Assigning File System is nothing but formatting the SD card and giving it a new File System.
  1. Device issue:
    Issues may not always lie with the system or the connecting media. It sometimes might be your SD card which is the real culprit. Want to know how? Here it is…
  2. a) Grimy chip: Dust may accumulate on SD card chip and make it unreadable. So, examine the metal area of card; if you find any spots or black marks then wipe it gently using cotton. If you wish, dip the cotton in little alcohol/water and use.
  3. b) Crunched slot: SD card slots are built using ultra-thin devices. They are highly sensitive and bend easily even with little pressure. Due to variations of battery thickness slot will get squeezed. So, reshape the slot and change the battery.
  4. c) Corroded or bent line: Some phones bend the wires of SD card. Also, these wires may get corroded due to humidity, weather changes, etc. Obviously, bent wires make the card unreadable. So check the lines in bright light. If they are bent, then try to bend them backward by gently pushing it.
  5. d) Creepy-crawly card: If the SD card is corrupted by malicious virus then it fails to appear on your computer, making it inaccessible by your system. Hence, scan the affected card in phone or computer using an efficient antivirus tool to remove corrupted files. If the card is severely corrupted, then format it in computer (low level format) or camera.
Useful info: If your photos, videos, documents etc files present on SD card are permanently erased by any perilous virus then you don’t have to be worried. You can restore those permanently deleted photos, videos, audio files or any sort of data using recovery software.
  1. Conked out card:
    If your SD card fails to read even after formatting then try to run CHKDSK (in Windows) or Disk Management (in Mac) on the card. If the card doesn’t show up on any of the devices including computer, phone, camcorder, etc. even after running these repair tools, then it’s time to replace the card.

OnePlus 5 will come with Dual Camera and Seamless Back Cover

OnePlus 5 might come with the dual rear camera according to the leaked image. However, sensors on the camera are not known even though the render reveal a vertical rear camera on to the left. However, the antenna lines present on OnePlus 3 and 3T could be missing from the rear and it features Aluminum brushed design at the back along with metal frames.

In OnePlus 5, one important feature is missing i.e. fingerprint scanner which could be embedded with the sensor in the display or in the home button. Today fingerprint scanner embedded into the display is becoming a standard for flagship devices which can be seen in Samsung Galaxy S8 as well as Xiaomi Mi 6. You can even expect this feature in Apple iPhone 8 as well.

In terms of processor, the upcoming flagship is expected to feature latest Snapdragon 835 processor which could be coupled with 6GB/128 GB internal memory. The front camera has a resolution of 16MP which is same as that of OnePlus 3T and it features a 5.5-inch screen display.

According to the recent report in the Chinese publication PCPop, OnePlus 5 comes with octa-core processor with the Adreno 540 GPU. Memory space is 8GB RAM variant and features extremely thin bezels. However, OnePlus 5 is expected to launch in the second half of 2017.

Note: Since the number ‘4’ is considered as an unlucky number in China, the company directly jumps to OnePlus 5. The Smartphone with model number A5000 was spotted earlier on China Radio Regulation Authority. As OnePlus 3 and OnePlus 3T had model numbers A3000 and A3010 respectively, it confirms A5000 is most likely OnePlus 5.