copyto or backupto only jpg png gif bmp files with folder structure

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
drjs5x
Posts: 131
Joined: 18 Nov 2015 18:12
Location: Turkey

copyto or backupto only jpg png gif bmp files with folder structure

Postby drjs5x » 12 Mar 2018 08:36

hi dears
copyto or backupto only jpg png gif bmp files with folder structure..
backupto "c:\target\", , "10","0","0","0","0","0","1", 9:="*.jpg|*.jpeg";
i can but i cant with folder structure :(

please help me.
newbie or not...........

highend
Posts: 7166
Joined: 06 Feb 2011 00:33

Re: copyto or backupto only jpg png gif bmp files with folder structure

Postby highend » 12 Mar 2018 09:10

E.g.:

Code: Select all

copyto "c:\target\", quicksearch("/n *.jpg;*.jpeg", , "|"), <curpath>, 2, 1;
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

drjs5x
Posts: 131
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: copyto or backupto only jpg png gif bmp files with folder structure

Postby drjs5x » 12 Mar 2018 09:30

work good but folder structure full path with driver full path same path every files?
this example: copied c:\target\exaple\01\test.jpg.....

folder structure full path : copied c:\target\D\exaple\01\test.jpg.....


thanks for script .
newbie or not...........

highend
Posts: 7166
Joined: 06 Feb 2011 00:33

Re: copyto or backupto only jpg png gif bmp files with folder structure

Postby highend » 12 Mar 2018 09:41

Then use a different root path, e.g.

Code: Select all

copyto "c:\target\", quicksearch("/n *.jpg;*.jpeg", , "|"), gpc(<curpath>, "drive") . ":\", 2, 1;
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

drjs5x
Posts: 131
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: copyto or backupto only jpg png gif bmp files with folder structure

Postby drjs5x » 12 Mar 2018 09:56

:appl: :appl: :appl:
i fixed dear. thanks for help.


$q=<curpath>;$q = replace($q, ':', '');backupto "c:\target\".$q."\", , "10","0","0","0","0","0","1", 9:="*.jpg|*.jpeg";

%100 working with folder structure .
:appl:
newbie or not...........

drjs5x
Posts: 131
Joined: 18 Nov 2015 18:12
Location: Turkey

Re: copyto or backupto only jpg png gif bmp files with folder structure

Postby drjs5x » 12 Mar 2018 11:50

"fullpath COPYTO...." $surucumu=strpos(<curpath>, ":");if ($surucumu==-1){$q=<curitempath>;$q = replace($q, ':', '');echo $q} ELSE {$q=<curpath>;$q = replace($q, ':', '');echo $q};backupto "c:\target\".$q."\", , "10","0","0","0","0","0","1", 9:="*.jpg|*.jpeg";
newbie or not...........


Return to “Tips & Tricks, Questions & Answers”



Who is online

Users browsing this forum: No registered users and 2 guests