Skip to content
View in the app

A better way to browse. Learn more.

Unraid

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.

Linux File Copying Question

Featured Replies

Hi,

 

Sorry I am not too familiar with Linux and need help. 

 

1-When I used this copy command, "cp -r /mnt/tower1/Music/* /mnt/user/Data/Music/",

all the files copied into the target folder have the current date and time (when it was copied).

 

Is there anyway to copy files from the unraid console to retain the original date and time of the files?

Copying from a remote computer (Windows File Explorer) will retain the file attribute but it will take too long to copy.

 

2-When I used the "rsync -av --stats --progress /mnt/tower1/Music /mnt/user/Data/" command, I have noticed that it is not copying any new files to the target location.

A few instructions on the forum here told to use rsync to move files from one server to another. I was missing files with this command. Maybe this is not the right way? But should use "cp -r"

 

Thanks!

Yes. cp man pages or you can try cp --help for a more up to date help listing.

 

Use the -p option, or --preserve=timestamps .

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

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.