Jump to content
View in the app

A better way to browse. Learn more.

AdvAnced Studios Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Author

Ci stavo giusto pensando. Infatti oggi per catturare l'errore mi sono chiedevo quale fosse il comando per bloccare la schermata. Domani lo provo.

 

Per spostare dei file da un'altra unità anzichè dal C: si usano comandi diversi?

 

 

praticamente se fai proprietà su documenti, pupoi fare in modo che la cartella punti su un altr aunità, come nel mio caso su un altro disco (poichè C: è un SSD non avevo molto spazio, quindi i miei documenti puntano a F:docs)

quindi ho dovuto fare un altra riga per backuppare anche f:docs

 

adesso ne aggiungo un altra per backuppare anche l'enorme cartella STEAM

 

 

  • Author

Ah ho capito!

 

Cavolo ho visto un portatile con una memoria SSD.. sono memorie per adesso un pò piccole, ma sono velocissime!

 

 

Ah ho capito!

 

Cavolo ho visto un portatile con una memoria SSD.. sono memorie per adesso un pò piccole, ma sono velocissime!

confermo... io lo uso da oltre 1 anno sul desktop e mi ha cambiato la vita

 

 

trova l'errore: secondo te perchè questo mi va sempre in errore dicendo che non trova la destinazione?

 

rem

rem # Steam Backup #

rem

z:Bkprobocopy.exe "e:steam" j:BackupSteam /MIR /NP /R:0 /W:0 /log:z:Bkp04-Steam.txt

@pause

 

 

z è il disco di rete da cui viene lanciato robocopy

 

e è il disco dove ho la cartella steam

 

j: quello esterno dove backuppare il tutto...

 

ps io so il perchè e come fixare, è una specie di quiz per vedere se hai imparato tutto

 

 

  • Author

Hm.. credo che dia l'errore perchè il robocopy.exe si trova in z: e di conseguenza quando poi va backappare i file deve farlo in z:backupSteam non j.

Infatti anche il log prova a scriverlo in z, mentre lì c'è scritto che deve backuappare in j.

 

Giusto? Almeno quello che abbiamo fatto creava il backup nella cartella dove veniva lanciato il robocopy, per cui presumo che debba salvare lì ì dati bot_teach.gif

 

 

  • Author

Hum.. allora appare la scritta Steam, mi lancia dal z:bkprobocopy.exe e va a cercare in e:steam la cartella steam. Poi va in j:backup e copia il contenuto di steam, e poi va a fare un log di controllo in z:bkp dove è stato lanciato il robocopy.

 

Mi verrebbe da dire perchè deve essere e:usersnomeutentedesktopsteam ad esempio.. ma non è detto.

Potrebbe trovarsi la cartella anche semplicemente nel percorso e:

 

hmm o,o

 

 

  • Author

Cmq ho provato ad integrare una cosa.

 

Ho creato un'azione pianificata e funziona correttamente.

Però restano due problemini.

 

Il primo.. è che ora vorrei modificare il giorno e l'ora in cui eseguire questa azione pianificata, ma non riesco a capire da: AccessoriUtilità di SistemaUtilità di Pianificazione .. dove trovo quella che ho inserito io. Se provo a crearne un'altra, utilizzando lo stesso nome dell'altra che ho creato prima, mi dice "impossibile, pianificazione già esistente". Per cui c'è, ma dov'è?

 

Il secondo. Se non sbaglio il programma fa una copia di tutto quello che c'è nella cartella, sovrascrivendo anche i file già esistenti e non aggiornati. Com'è possibile dirgli "non copiare un file se non è stato aggiornato?".. bisogna aggiungere un "lettera", ma non so quale. Poi magari già lo fa ma non ci ho fatto caso [51]

 

Per l'indovinello:

 

Non è case sensitive il dos giusto?

 

 

ma tu hai XP?

 

Io ho 7, è un po diverso lo schedulatore , quindi non so aiutarti.

 

Per il secondo problema, ti dico solo che il batch include lo switch /MIR

 

Se leggi il documento vedrai che MIR fa un mirror , quindi se vede che un file NON è stato aggiornato, NON lo copia.

 

mentre se è stato cancellato dal percorso di origine, lo cancella anche dalla destinazione, vedi sotto

 

If you require the destination directory tree to be maintained as an exact mirror of the source directory tree, you must delete files and directories from the destination whenever they disappear from the source. To accomplish this, use the /E and /PURGE switches in combination, or use the /MIR switch

 

The /PURGE switch causes Robocopy to delete all Extra and Mismatched destination files and directories. After a Mismatched destination entry has been deleted, the corresponding source entry is then treated as a Lonely file or directory and processed accordingly. When /PURGE results in the deletion of an Extra or Mismatched destination directory, the entire directory tree, including all subordinate files and subdirectories, is deleted (even if /S or /E is not specified).

 

Use /PURGE and /MIR very carefully. If you inadvertently specify /PURGE or /MIR with an existing destination directory, Robocopy can quickly delete a large amount of data from the destination.

 

To prevent specific directory trees or files from being deleted when you use /PURGE, you must exclude them by name, using the /XD or /XF options. /XD and /XF exclude files and directories before all other processing.

ho anche trovato questo, riguardo al monitoraggio files modificati ma non l'ho mai usato...

 

Monitoring a Directory Tree

 

Using the /MON:n and /MOT:m switches you can Monitor the source directory tree for changes, and copy changes as and when they occur. The /MON:n switch specifies the minimum number of changes that must occur before running again. The /MOT:m switch specifies the minimum time, in minutes, that must elapse before running again.

 

If you only specify one of these switches, the other is assumed to have a value of 1.

 

When Monitoring is specified, Robocopy never terminates. Instead, it enters a loop that performs a normal Robocopy pass and then monitors the source directory tree for changes, until both n changes have been detected and m minutes have elapsed. When both conditions are met, another Robocopy pass is started. This whole process of copying and monitoring is repeated, ad infinitum, until the user manually terminates the Robocopy process.

 

As a minimum, Robocopy monitors the source directory tree for changes to file and directory names, sizes, and last write times. If attributes are to be copied Robocopy will also monitor the tree for attribute changes. Similarly, if security information is to be copied, Robocopy will also monitor the tree for security changes.

 

Consequently, a user performing an edit and saving a single new file, for example, may cause multiple changes of various types to be reported back to Robocopy. Therefore some experimentation may be required to determine appropriate threshold values for /MON and /MOT for each Robocopy job, especially those monitoring busy trees.

cmq il significato di tutti questi switch e ben spiegato se ti installi il robocopy GUI

 

per quanto riguarda l'indovinello, ti consiglio di rileggere i primi post del topic

 

 

ecco la soluzione dell'indovinello :-)

 

questa è la riga corretta

 

rem # Steam Backup #
rem
z:Bkprobocopy.exe e:steam j:BackupSteam /MIR /NP /R:0 /W:0 /log:z:Bkp05-Steam.txt
@pause

 

  • Author

Oddio, vedo due differenze.

 

Nel codice giusto manca un "rem", proprio il primo, quello iniziale, che a dire il vero non ho capito bene che comando è. Immagino che serva per scrivere un messaggio, stampare qualcosa sullo schermo.

La seconda differenza è che in e:steam non ci sono le virgolette, sempre nel codice giusto.

 

A questo punto mi chiedo, a cosa servono le virgolette? Si usano soltanto quando ci sono spazi allora?

 

 

  • Author

Ho colto l'errore? [57]

 

Cmq funziona tutto alla grande. Soltanto il log devo dire che non è "compatibile" con Windows 7.

 

Con 7 dà questo log:

 

C:UsersEmanueleDesktopZ:Backup-EmanueleDesktop*.*

*.* /S /E /COPY:DAT /PURGE /MIR /NP /R:0 /W:0 C:UsersEmanueleDesktopArchivio_Comune_CR (server1) - collegamento.lnkBackup-Emanuele - collegamento.lnkCollegamento a Clienti-Ditta.xls.lnkCollegamento a File_per_CRM.xls.lnkdesktop.iniEpson-4900-Finanziato.pdfLISTINI_AGGIORNATI - collegamento.lnkNikon-D800-Condizioni-Luglio-2012.pdfNUMERI UTILI.txtPannelli-FullPhoto.pdfRiviera 03.07.2012.docThomson-book.pdfC:UsersEmanueleDesktopaC:UsersEmanueleDesktopEdmini-Emaedmini.batC:UsersEmanueleDesktopLINKC:UsersEmanueleDesktopvendita Bosch 5 0 5 0 0 0 58 13 45 0 0 0 41.31 m 7.71 m 33.59 m 0 0 0

 

Con XP:

 

 

-------------------------------------------------------------------------------

ROBOCOPY :: Robust File Copy for Windows :: Version XP010

-------------------------------------------------------------------------------

Started : Fri Jul 27 16:03:40 2012

Source : C:Documents and SettingsRoberto CalliariDesktop

Dest : Z:Backup-CalliariDesktop

Files : *.*

 

Options : *.* /S /E /COPY:DAT /PURGE /MIR /NP /R:0 /W:0

------------------------------------------------------------------------------

50 C:Documents and SettingsRoberto CalliariDesktop

Older 162 ~$D-NS-SITO.doc

Older 162 ~$edisc-Andrea.doc

Older 162 ~$ro Andrea 24.25.11.2011.doc

Newer 162 ~$ti-Bonifico1.doc

Newer 162 ~$TI-CIERRE.doc

Newer 83 AccessoRemoto-PC-Calliari2.txt

Older 4.4 m Accounts.csv

Newer 1657 Adobe Photoshop CS.lnk

 

 

Tutt'altra roba..

 

 

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.