Skip to content

Instantly share code, notes, and snippets.

View akvedi's full-sized avatar

akvedi

View GitHub Profile
@akvedi
akvedi / all-in-wp-restore-backup.md
Created August 18, 2024 07:16
Trick to restore the backup made with All in one wp migration plugin without a pro subscrption

How to Restore a Backup Using All-in-One WP Migration Without a Pro Subscription

Method 1: Using the Console

  1. Upload the Backup File: Place the .wpress backup file in the wp-content/ai1wm-backups directory of your WordPress installation.
  2. Access the Backup Page: Navigate to the backup page by clicking on the Backup option in the sidebar under the All-in-One WP Migration menu.
  3. Open Developer Tools: Right-click on the page and select "Inspect" to open the developer tools.
  4. Switch to the Console Tab: Click on the "Console" tab within the developer tools.
  5. Paste the Code: Copy the code provided below and paste it into the console.
  6. Execute the Code: Press Alt+Enter or click Run button to run the code.
@akvedi
akvedi / gsconnect-sftp.md
Created July 19, 2024 04:24
A bash script to automatically open Nautilus with the correct sftp path for gsconnect gnome.

GSconenct uses incomplete path to mount the sftp on some devices. Thus giving an error when accessed.

ss

This bash script will automatically open the sftp folder with the correct path.

How to use it

  • Make a new empty file
  • Copy the below script and paste it