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.

[solved] Run EXE

Featured Replies

I wrote an EXE app to compare source and destination file comparison at the byte level so I can validate my copy from source to destination was successful.

Can I run an exe on the unRaid server?

Can I also attach a USB drive to the unRaid server without copying the data to the server for purposes of file comparison?

I wrote an EXE app to compare source and destination file comparison at the byte level so I can validate my copy from source to destination was successful.

Can I run an exe on the unRaid server?

Can I also attach a USB drive to the unRaid server without copying the data to the server for purposes of file comparison?

you can not run an EXE on unrAID's OS.

 

linux has a compare built in.  It is called "cmp"

 

root@Tower:~# cmp --help

Usage: cmp [OPTION]... FILE1 [FILE2 [sKIP1 [sKIP2]]]

Compare two files byte by byte.

 

  -b  --print-bytes  Print differing bytes.

  -i SKIP  --ignore-initial=SKIP  Skip the first SKIP bytes of input.

  -i SKIP1:SKIP2  --ignore-initial=SKIP1:SKIP2

    Skip the first SKIP1 bytes of FILE1 and the first SKIP2 bytes of FILE2.

  -l  --verbose  Output byte numbers and values of all differing bytes.

  -n LIMIT  --bytes=LIMIT  Compare at most LIMIT bytes.

  -s  --quiet  --silent  Output nothing; yield exit status only.

  -v  --version  Output version info.

  --help  Output this help.

 

SKIP1 and SKIP2 are the number of bytes to skip in each file.

SKIP values may be followed by the following multiplicative suffixes:

kB 1000, K 1024, MB 1,000,000, M 1,048,576,

GB 1,000,000,000, G 1,073,741,824, and so on for T, P, E, Z, Y.

 

If a FILE is `-' or missing, read standard input.

 

Yes, you can attach a USB drive to unRAID.  Easiest is to follow the instructions in the wiki. 

  • Author

Thanks a bunch. Can you give me link to the wiki?

another great tool for comparing file integrity is TeraCopy, using its 'verify' function.

  • Author

How do I compare a full directory to another directory using cmp?

How do I compare a full directory to another directory using cmp?

one file at a time.

 

or with a script you write if the directories are the same.

 

cd first/directory

find . -type f | while read file_name

do

  cmp $file_name /second/path/$file_name

done

 

  • Author

If I write a script where do i put it to run it?

I tried navigating to the first directory and then tried the filename but said

No such file or directory".

 

cmp /mnt/disk2/video/kids/movies/filename.avi /mnt/usb/video/kids/movies/filename.avi

 

 

linux has a compare built in.  It is called "cmp"

 

So does Windows - fc /b filename1 filename2 at the command line.  I often use it with simple for loops in batch files to compare blocks of files within folders using > or >> to direct the comparison result to a text file.

 

It should be possible to use that to validate copies onto a server if required.

  • Author

I have a external hard drive connected to the unRaid server. I cannot use Windows to do the compare because the mount isn't available externally.

So all I need to know is where do I put this script file on the FLASH drive and what file extension do I give it.

 

Thank you.

The file extension is not important, but most people use ".sh". It is important to make the file executable with "chmod +x filename".

  • Author

Thanks what directory runs chmod and where do i put the sh file on the flash drive?

The sh file can go anywhere on the flash. People either use /boot/custom or /boot/local.

  • 2 weeks later...
  • Author

We can close this now. I mounted the drive into unRaid event though it was NTFS and did a copy from there.

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.