Recommended Posts

I did a quick search but couldn't find what I wanti, which probably has something to do with the fact I don't actually know what to search for.

Basically I have a server PC running Ubuntu connected to my home network. My main PC is running Win7. I've set up Samba and can browse and transfer files between the two machines no problem.

What I want to be able to do is move files around on the server from my Windows machine. If I try and move files around using Windows Explorer, it copies the file from the server to my Windows computer and then back again. Surely there is a way that I can perform the file operations locally on the server without having to copy the files back and forth? Any search for 'moving files on a network computer' comes up with basic network guides and how to move files between computers.

There seems to be more confusion than necessary in what you're wanting to do.

You are wanting to be able to move a file to either machine, correct? Is that not what it's doing? If you've networked the computers and are running Samba, I don't understand why you wouldn't be able to move files between the 2 machines. Barring any configuration issues of course.

Well if it were a 2003+ windows server it wouldn't do that. To maintain integrity it has to copy locally, paste, and delete in the move operation vs just moving the table pointers from one folder to another. Remotting in and moving it on ubuntu would yield faster results.

There seems to be more confusion than necessary in what you're wanting to do.

You are wanting to be able to move a file to either machine, correct? Is that not what it's doing? If you've networked the computers and are running Samba, I don't understand why you wouldn't be able to move files between the 2 machines. Barring any configuration issues of course.

I don't want to move files between the machines. The file I want to move is already on the server. All I want to do is move the file on the server to another folder on the server, but I want to do it using my Windows computer so I don't have to physically go to the server computer and do the move.

Well if it were a 2003+ windows server it wouldn't do that. To maintain integrity it has to copy locally, paste, and delete in the move operation vs just moving the table pointers from one folder to another. Remotting in and moving it on ubuntu would yield faster results.

I'm not sure what you mean. Do you mean when I try to move the file remotely, Ubuntu is actually copying it to the new destination folder and then deleting the original? Is there no way for Windows to simply issue a move command to Ubuntu, and it will do whatever it would normally if I physically went to computer and dragged the file to another folder?

When you initiate a move command you want the server to see that it is a move and just change the file pointers to another location, but in actuality what is happening when you complete a move command it is copying the file to your local computer, copying the file back onto the server in a new folder you want it in, then deleting the file. That operation is quite slow and you want it to be instant.

That is a feature of the os and something you shouldn't need to worry about. It is built into nas os'es and onto windows servers to understand moving from one local folder to another and not to copy information to the computer unless it is going to a different server.

It comes down to how the two os'es talk to each other.

Just remote into the server and move the file. That would be the fastest way.

Well the server also doubles as a HTPC running XBMC in full screen. If it's possible I'd rather avoid remote desktop so I don't have to exit (or minimise) XBMC to do any file operations.

When you initiate a move command you want the server to see that it is a move and just change the file pointers to another location, but in actuality what is happening when you complete a move command it is copying the file to your local computer, copying the file back onto the server in a new folder you want it in, then deleting the file. That operation is quite slow and you want it to be instant.

That is a feature of the os and something you shouldn't need to worry about. It is built into nas os'es and onto windows servers to understand moving from one local folder to another and not to copy information to the computer unless it is going to a different server.

It comes down to how the two os'es talk to each other.

So basically it's a limitation of the communication between Ubuntu and Windows communication? I would have thought that in 2012, moving files on a network computer would be a pretty standard operation.

It is, and you are able to move them right? Sounds pretty standard to me even if it doesn't meet your speed expectation.

In your case move is a standard operation no matter how long it takes, however the way you want it to move is different than what is happening now. To say that a move isn't a common operation is false. To say that moving the way it does it is asinine is true and it shouldn't happen with current technology.

It is, and you are able to move them right? Sounds pretty standard to me even if it doesn't meet your speed expectation.

Yes I can move the files around just fine, it just takes a whole while longer than it should because of the double-copy process. Apart from this limitation, the network is performing flawlessly.

Anyway thanks for the clarification. Barring any solutions, it sounds like I might have to give Windows Home Server a try in the future.

Just curious but why do you even have a Ubuntu server running? These days I just use a hp microserver running windows 7 as it has seamless compatibility with my other win7/win8 pc's. I use drivebender ($40) to do the homeserver thing of binding multiple drives into a single volume (and since its windows 7 it can also act as my media center server for my Xbox's which is one less box I need to be running)

Like I said earlier, it doubles as a HTPC running XBMC. I should probably say it's actually a HTPC that doubles as a server, as it does more video playback then it does file serving. Anyway, when I put the machine together only the Linux version of XBMC supported hardware accelerated video playback.

Im not a ubuntu user but there must be away to automate this, a script or app that watches a folder, then automatically moves or syncs the files somewhere else... When I have dabbled iwth linux I did use FreeNX to remote control the pc.

I am using Windows Home Server 2011, like you, my primary use of this server is XBMC HTPC, works great.. What are the files you are moving about? If they are media downloads, can you not simply change the destination folder??

^ yup just ssh to the linux box and do whatever you want for moving files around. Or if running a desktop gui, just remote into that (different that the console session) so you don't mess up anything going with what I assume your doing on the console session with your media stuff.

Or run a web interface file manager, for example webmin has ability to move files around on the machine.

On every Samba setup I have seen in the last few years the move operation does not copy anything to the local machine no matter what the client OS you are using is in question.

For example I have an SLES (SuSE Linux Enterprise Server) running Samba 3.6.3 and from a Win2k3 server via windows explorer any move operating performed is instantaneous, no matter how large the file in question is.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Zed 1.7.2 has landed with updated OpenCode models, bug fixes and other improvements by David Uzondu Zed 1.7.2 recently landed on the stable release channel, bringing a host of AI-related features including automatic context compaction and settings-based skill management, along with other things like better Markdown preview rendering and custom git commands in the graph view. Starting with the AI stuff, the developers introduced "/compact", a command that basically summarizes your conversation history on demand. This tool prevents your active chat window from hitting token limits by compressing older parts of the dialogue into a brief overview. In addition to that, the team relocated skill management to the settings UI, improving how the application communicates errors regarding those skills, and updated the OpenCode model roster to support DeepSeek V4 Flash, MiniMax M3, Qwen 3.7 Plus, and Nemotron 3 Ultra Free. External agent users can also monitor context window cost metrics and delete individual sessions directly from their history. Right-clicking ref labels in the git graph now opens a context menu that runs different actions against selected targets, kind of how VS Code does it. Here are some of the bug fixes this new release brings: The active agent fails to auto-select when creating a new git worktree. A scrollbar unexpectedly appears on wrapped code blocks in the agent chat. Collapse indicators for project headers appear when performing sidebar searches. Bracketed ellipsis title prefixes fail to show the ellipsis icon properly. Project icons render incorrectly in the recent projects picker. Diff hunk controls appear inside non-editable commit view multibuffers. The software update button hangs indefinitely on the downloading stage. Restoring an agent terminal in a remote project triggers a sudden crash. Splitting a pane that contains an active commit view causes a crash. Linux Wayland freezes when trying to read the clipboard from laggy external apps. Zed is a "newish" code editor trying to break the massive stronghold VS Code has on the developer community. Funny enough, the editor was created by former GitHub employees who worked on the Atom text editor (which Microsoft killed in 2022, several years after it bought GitHub). The project officially hit version 1.0 back in April, introducing platform parity for Windows and Linux alongside deep support for DeepSeek-V4-Pro.
    • 26H2 absolutely will support ARM Windows just not on devices that came with 26H1. This is evident by the fact I am running 26H2, which on my MacBook Neo and Surface Pro 12 (inch), within a VM.
    • Mp3tag 3.35 by Razvan Serea Mp3tag is a powerful and yet easy-to-use tool to edit metadata (ID3, Vorbis Comments and APE) of common audio formats. It can rename files based on the tag information, replace characters or words from tags and filenames, import/export tag information, create playlists and more. The program supports online freedb database lookups for selected files, allowing you to automatically gather proper tag information for select files or CDs. Mp3tag supports the following audio formats: Advanced Audio Coding (aac) Free Lossless Audio Codec (flac) Monkeys Audio (ape) Mpeg Layer 3 (mp3) MPEG-4 (mp4 / m4a / m4b / iTunes compatible) Musepack (mpc) Ogg Vorbis (ogg) OptimFROG (ofr) OptimFROG DualStream (ofs) Speex (spx) Toms Audio Kompressor (tak) True Audio (tta) Windows Media Audio (wma) WavPack (wv) Mp3tag 3.35 changelog: This version introduces a new Files options page, enhanced toolbar customization, support for RF64 WAV files, improved Discogs and MusicBrainz tag sources, and many other improvements and fixes. See the Release Notes for more details. Download: Mp3tag 64-bit | 5.7 MB (Freeware) Download: Mp3tag 32-bit | 5.2 MB Link: Mp3tag Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • The FIFA World Cup is not US centric.
    • It’s amusing how Microsoft is pushing IT admins as if this was a major, game-changing update. In reality, it’s just an enablement package that bumps the build number, which is disappointing compared to the more substantial 22H2 and 24H2 releases. Technically, 25H2, 26H1, and the upcoming 26H2 are essentially the same, differing only in support schedules. They could have included the Windows K2 improvements here, but chose not to. The era of Windows being in the backburner continues, and this 26H2 release feels like an afterthought. Shame, Nadella, shame.
  • Recent Achievements

    • Week One Done
      AMV earned a badge
      Week One Done
    • One Month Later
      AMV earned a badge
      One Month Later
    • Collaborator
      ryansurfer98 went up a rank
      Collaborator
    • One Month Later
      Eurosoft10 earned a badge
      One Month Later
    • Week One Done
      Eurosoft10 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      523
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      78
    4. 4
      Steven P.
      72
    5. 5
      Michael Scrip
      71
  • Tell a friend

    Love Neowin? Tell a friend!