Find the Path
You magically sense the most direct physical route to a location you name. You must be familiar with the location, and the spell fails if you name a destination on another plane of existence, a moving destination (such as a mobile fortress), or an unspecific destination (such as “a green dragon's lair”).
For the duration, as long as you are on the same plane of existence as the destination, you know how far it is and in what direction it lies. Whenever you face a choice of paths along the way there, you know which path is the most direct.
Find the Path 5e 2024 vs. 2014 edition differences
The 2024 version specifies "up to 1 day" duration, while the 2014 version states "1 day" (no change). The 2024 version emphasizes that you must be familiar with the location; the 2014 version states you are familiar with the location implicitly. The 2024 version clarifies that the spell fails if the destination is on another plane or is unspecific; the 2014 version states this more generally. The core mechanics of sensing the most direct route and knowing the distance and direction are consistent.