Jump to content

CUT or COPY ???

Go to solution Solved by Enderman,

Cut will only move the pointer to the file location (if cutting to a place on the same drive) which is usually only a few KB or MB.

Copy will duplicate every single byte in the new location.

Hey everyone , when i copied the setup of GTA V on PC to another folder , it took likeabove 15 mins . But when I cut it as well as several setup files of several games totaling of 125 GB , it didnt even took 5 sec . Why is that and what is the technical definition ????

Thanks in advance :) 

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/
Share on other sites

Link to post
Share on other sites

Modern file systems are advanced, and folders are not locations on drives, files point to locations. If you move a file to a separate folder on the same drive, the file transfer is almost instant, because all it is doing is updating the files to show that they are in different folders, not moving it's position on the drive.

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/#findComment-8169634
Share on other sites

Link to post
Share on other sites

5 minutes ago, Runelight said:

Hey everyone , when i copied the setup of GTA V on PC to another folder , it took likeabove 15 mins . But when I cut it as well as several setup files of several games totaling of 125 GB , it didnt even took 5 sec . Why is that and what is the technical definition ????

Thanks in advance :) 

When you cut it just links it, it doesn't move any sectors.

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/#findComment-8169639
Share on other sites

Link to post
Share on other sites

Cut will only move the pointer to the file location (if cutting to a place on the same drive) which is usually only a few KB or MB.

Copy will duplicate every single byte in the new location.

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/#findComment-8169644
Share on other sites

Link to post
Share on other sites

On 7/26/2016 at 10:26 PM, spidsepttk said:

Modern file systems are advanced, and folders are not locations on drives, files point to locations. If you move a file to a separate folder on the same drive, the file transfer is almost instant, because all it is doing is updating the files to show that they are in different folders, not moving it's position on the drive.

Thanks for taking time to help me . ;) 

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/#findComment-8169647
Share on other sites

Link to post
Share on other sites

4 minutes ago, Enderman said:

Cut will only move the pointer to the file location (if cutting to a place on the same drive) which is usually only a few KB or MB.

Copy will duplicate every single byte in the new location.

Depends on files system. Some will link for copy and only write changes, like btrfs, zfs and refs.

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/#findComment-8169682
Share on other sites

Link to post
Share on other sites

Just now, Electronics Wizardy said:

Depends on files system. Some will link for copy and only write changes, like btrfs, zfs and refs.

That sounds really bad....

What if you modify the original file?

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/#findComment-8169695
Share on other sites

Link to post
Share on other sites

8 minutes ago, Electronics Wizardy said:

Only writes changes.

Well how does it know it has changed if it has no reference file to compare it to?

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
https://linustechtips.com/topic/632928-cut-or-copy/#findComment-8169769
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×