• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Questions about relative paths, database version, MSProTools db_reloc
#7
After stripping the file paths I can copy mobilesheets.db from Android to Win10 and it works fine. Thank you guys for your support.

@Sciurius:

I used db_reloc to modify the file paths in the database.

db_reloc.pl ...--src="/storage/emulated/legacy/_MobileSheets/" --dst=""
was not possible as --dst="" is considered as missing and causes the error message "Option dst requires an argument"

As a workaround I had to duplicate all my replace commands and keep the last subfolder, like:
db_reloc.pl ... --src="/storage/emulated/legacy/_MobileSheets/Songs" --dst="Songs"
db_reloc.pl ... --src="/storage/emulated/legacy/_MobileSheets/Fkbk0" --dst="Fkbk0"
and so on.
That works for me as I have to handle only three subfolders and it is done now.

But maybe you can allow --dst="" so that simply removing a part of a path is possible. It might be helpful for others and in other cases.
first language: German
Acer A1-830, Android 4.4.2 - HP x2 210 G2 Detachable, Win 10 22H2 - Huawei Media Pad T5, Android 8.0 - Boox Tab Ultra C, Android 11
www.moonlightcrisis.de - www.basdjo.de - www.frankenbaend.de


Reply


Messages In This Thread
RE: Questions about relative paths, database version, MSProTools db_reloc - by itsme - 09-21-2018, 02:04 PM



Users browsing this thread:
4 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.