Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rdms:access:linux:icommands [2025/04/07 13:47] – Added how to restore deleted files giuliordms:access:linux:icommands [2025/04/09 07:31] (current) – added info on metadata giulio
Line 697: Line 697:
 <hidden> <hidden>
 <code> <code>
-#Locate a file in the trash folder. You will need to know the filename for this to work. +#To locate a file in the trash folder, you will need to know the filename: 
-$ ilocate -t <filename>  # -t for search in trash+$ ilocate -t <filename>  
  
-#Copy the path given by ilocate, then run either of the suggested commands. +where the -t switch indicates to search in trash. Copy the path given by ilocate, then run any of the suggested commands. 
-$ imv <logical path(s) from ilocate> <logical path to destination folder> #This command will move the file out of the trash folder + 
-#or +# To move the file out of the trash folder (and preserve previously attached metadata): 
-$ icp <logical path(s) from ilocate> <logical path to destination folder> #This command will leave a copy of the restored file in the trash folder +$ imv <logical path(s) from ilocate> <path to RDMS destination folder> 
-#or + 
-$ iget <logical path(s) from ilocate> <logical path to destination folder> #This command will download the file to a folder in your local system+To restore a copy of the file present in the trash folder (without previously attached metadata): 
 +$ icp <logical path(s) from ilocate> <path to RDMS destination folder> 
 + 
 +To download a copy of the file to a folder on your local system (without previously attached metadata): 
 +$ iget <logical path(s) from ilocate> <path to local destination folder>
  
 </code> </code>